3 lines
57 B
Python
3 lines
57 B
Python
|
|
def gcd(u, v):
|
||
|
|
return gcd(v, u % v) if v else abs(u)
|