from functools import reduce from tools import number_theory def multu_lcm(l): return reduce(number_theory.lcm, l) print(multu_lcm(list(range(1, 21))))