We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c64c785 commit 0f5f04fCopy full SHA for 0f5f04f
project_euler/problem_125/sol1.py
@@ -9,7 +9,7 @@
9
1 = 0^2 + 1^2 has not been included as this problem is concerned with the
10
squares of positive integers.
11
12
-Find the sum of all the numbers less than 108 that are both palindromic and can
+Find the sum of all the numbers less than 10^8 that are both palindromic and can
13
be written as the sum of consecutive squares.
14
"""
15
@@ -32,7 +32,7 @@ def is_palindrome(n: int) -> bool:
32
33
def solution() -> int:
34
35
- Retuens the sum of all numbers less than 1e8 that are both palindromic and
+ Returns the sum of all numbers less than 1e8 that are both palindromic and
36
can be written as the sum of consecutive squares.
37
38
LIMIT = 10 ** 8
0 commit comments