fork download
  1. def nwd(a, b):
  2. while b != 0:
  3. pom = b
  4. b = a % b
  5. a = pom
  6. return a
  7.  
  8. def rzad(goscie, gospodarze):
  9. return nwd(goscie, gospodarze)
  10. print(rzad(10,100))
  11.  
Success #stdin #stdout 0.11s 14172KB
stdin
Standard input is empty
stdout
10