HTMLify

gcd.py
Views: 133 | Author: abh
def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)

def gcd(a, b):
    while b:
        a, b = b, a % b
    return a

Comments