This website requires JavaScript.
Explore
Help
Sign In
tibor
/
project-euler
Watch
1
Star
0
Fork
You've already forked project-euler
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4f8788bdee
project-euler
/
048_self_powers.py
4 lines
93 B
Python
Raw
Blame
History
#!/usr/bin/env python3
print
(
sum
(
pow
(
x
,
x
,
(
10
*
*
10
)
)
for
x
in
range
(
1
,
1000
+
1
)
)
%
10
*
*
10
)
Reference in New Issue
View Git Blame
Copy Permalink