给你两个正整数a和b, 输出它们的最小公倍数
#coding:utf-8
def main(a,b):
c=max(a,b)
while 1:
if c%a==0 and c%b==0:
return c
else:
c+=1
if __name__ == '__main__':
print main(2,7)
print main(1,2)
print main(2,2)