eniallator

Project Euler problem 20 in Python

Mar 4th, 2019
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. f = lambda n: n * f(n - 1) if n > 1 else 1
  2. print(sum([int(n) for n in list(str(f(100)))]))
Advertisement
Add Comment
Please, Sign In to add comment