def gcd(a,b):
if a
else:
smaller=b
for i in range(smaller,0,-1):
if a%i==0 and b%i==0:
return smaller
else:
smaller-=1
def lcm1(a,b):
g=gcd(a,b)
return a*b/g
跑不出结果,求指教哪里出问题