fork(1) download
  1. def nwd(a, b):
  2. while b != 0:
  3. pom = b
  4. b = a % b
  5. a = pom
  6. return a
  7. def nww(a, b):
  8. pom = nwd(a, b)
  9. return a * b // pom
  10. print(nww(35,25))
Success #stdin #stdout 0.13s 14108KB
stdin
Standard input is empty
stdout
175