Skip to content

Commit 0f5f04f

Browse files
committed
Fixed typos
1 parent c64c785 commit 0f5f04f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project_euler/problem_125/sol1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1 = 0^2 + 1^2 has not been included as this problem is concerned with the
1010
squares of positive integers.
1111
12-
Find the sum of all the numbers less than 108 that are both palindromic and can
12+
Find the sum of all the numbers less than 10^8 that are both palindromic and can
1313
be written as the sum of consecutive squares.
1414
"""
1515

@@ -32,7 +32,7 @@ def is_palindrome(n: int) -> bool:
3232

3333
def solution() -> int:
3434
"""
35-
Retuens the sum of all numbers less than 1e8 that are both palindromic and
35+
Returns the sum of all numbers less than 1e8 that are both palindromic and
3636
can be written as the sum of consecutive squares.
3737
"""
3838
LIMIT = 10 ** 8

0 commit comments

Comments
 (0)