题解 | #求最小公倍数#
求最小公倍数
https://www.nowcoder.com/practice/22948c2cad484e0291350abad86136c3
def function1(num1, num2): if num2 == 0: return num1 else: return function1(num2, num1 % num2) def function2(num1, num2): return int(num1*num2 / function1(num1, num2)) num1, num2 = map(int, input().split()) print(function2(num1, num2))