Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursion solution in Clear category for The Greatest Common Divisor by MrPod
def greatest_common_divisor(*args):
a, g = list(args), __import__('math').gcd
return greatest_common_divisor(g(*a[:2]), *a[2:]) if len(a) > 2 else g(*a)
Aug. 9, 2018