最小公倍数就是乘积除以最小公约数 while True: try: a, b = map(int, input().split()) num = a * b list1 = [] n = 1 for i in range(2, min(a, b)+1): &n...