fork(1) download
  1. # your code goes here
  2.  
  3. def GCD(x, y):
  4. print(x)
  5. print(y)
  6. print('\n')
  7. if y is 0 :
  8. return x
  9. GCD(y, x % y)
  10.  
  11. k = GCD(980, 1000)
  12. print(k)
Success #stdin #stdout 0.03s 27712KB
stdin
Standard input is empty
stdout
980
1000


1000
980


980
20


20
0


None