def compute(a, b): while b!= 0: t = b b = a % b a = t return a a, b = eval(input()) print(compute(a, b))
Category: Python
全新的繁體中文 WordPress 網站
def compute(a, b): while b!= 0: t = b b = a % b a = t return a a, b = eval(input()) print(compute(a, b))