gcd

🏠

Write a python function that computes the gcd.

1 def gcd(a, b):
2   return b if a == 0 else gcd(b%a, a)