''' for循环的条件“for in range(2,min(m,n)+1):”里的m,n不会受到循环内容“m=m//i n=n//i”影响 例如: w=[1,2] for i in w: w=[3,4] print(i) >> 1 2 思路借用一下大佬的图: ''' m, n = list(map(int, input().split( ))) T=1 for i in range(2,min(m,n)+1): while m%i==0 a...