fork download
  1. # your code goes here
  2. a, b = 15,20
  3.  
  4. while(a != b):
  5. if(a > b):
  6. a -= b
  7. else:
  8. b -= a
  9.  
  10.  
  11. print(a)
Success #stdin #stdout 0.02s 9172KB
stdin
5 10
stdout
5