Patch_Hawk / patchhawk /data /benign /math_gcd.py
RAMCr7's picture
Final patch
58f6308
raw
history blame contribute delete
114 Bytes
def gcd(a, b):
"""Calculate the Greatest Common Divisor."""
while b:
a, b = b, a % b
return a