repl.it
@tomnagel/

Wiskunde dag

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
a = int(input("number a"))
b = int(input("number b"))
while True:
  if a - b > 0:
    a = a - b
  elif b - a > 0:
    b = b - a
  else:
    break
print(a, b)  


Fetching token
?