<filename>algorithms/number_theory/euclidean_algorithm.py
def euclidean_algorithm(x, y):
    while y:
        tmp = y
        y = x % y
        x = tmp
    return x
<filename>algorithms/number_theory/euclidean_algorithm.py
def euclidean_algorithm(x, y):
    while y:
        tmp = y
        y = x % y
        x = tmp
    return x