← RU Pythoncursus

Uitwerking: gcd implementeren

a = 1081
b = 483

while b != 0:
    a, b = b, a % b

print(a)