实现求多个数的最大公约数
from math import gcd
from functools import reduce
def main(lst):
x=reduce(gcd,list)
return x
if __name__ == "__main__":
lst = eval(input())
res_result = main(lst)
print(res_result)
实现求多个数的最大公约数
from math import gcd
from functools import reduce
def main(lst):
x=reduce(gcd,list)
return x
if __name__ == "__main__":
lst = eval(input())
res_result = main(lst)
print(res_result)