frac.py 66 B

12345
  1. def gcd(a, b):
  2. while b:
  3. a, b = b, a % b
  4. return a