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. print(GCD(980, 1000))
Success #stdin #stdout 0.02s 27704KB
stdin
Standard input is empty
stdout
980
1000


1000
980


980
20


20
0


None