Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sympy import lcm
- from functools import reduce
- print(reduce(lambda x, y: lcm(x, y), range(1, 21)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement