We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c82605 commit a2cba40Copy full SHA for a2cba40
project_euler/problem_48/sol1.py
@@ -2,14 +2,15 @@
2
Self Powers
3
Problem 48
4
5
-The series, 11 + 22 + 33 + ... + 1010 = 10405071317.
+The series, 1^1 + 2^2 + 3^3 + ... + 10^10 = 10405071317.
6
7
-Find the last ten digits of the series, 11 + 22 + 33 + ... + 10001000.
+Find the last ten digits of the series, 1^1 + 2^2 + 3^3 + ... + 1000^1000.
8
"""
9
10
11
def solution():
12
- """Returns the last 10 digits of the series, 11 + 22 + 33 + ... + 10001000.
+ """
13
+ Returns the last 10 digits of the series, 1^1 + 2^2 + 3^3 + ... + 1000^1000.
14
15
>>> solution()
16
'9110846700'
0 commit comments