Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Project Euler problem 20 in Python
eniallator
Mar 4th, 2019
271
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.09 KB
| None
|
0
0
raw
download
clone
embed
print
report
f
=
lambda
n: n * f
(
n -
1
)
if
n
>
1
else
1
print
(
sum
(
[
int
(
n
)
for
n
in
list
(
str
(
f
(
100
)
)
)
]
)
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
5 min ago | 13.08 KB
Matthew Quote
27 min ago | 0.18 KB
Input_AOC
4 hours ago | 18.01 KB
Untitled
18 hours ago | 13.15 KB
Analog GPUs: THE FUTURE
23 hours ago | 8.88 KB
Quotes I believe to be true.
23 hours ago | 0.16 KB
Die 7 wichtigsten Aktionen diese Woche
1 day ago | 4.17 KB
Untitled
1 day ago | 13.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!