euclid.py 96 Bytes
Newer Older
cermak's avatar
cermak committed
1
2
3
4
5
6
7
8
a = 10
b = 15
while a != b:
    if b > a:
        b = b - a
    else:
        a = a - b
print(a)