Skip to content

Commit 8f23ddc

Browse files
Update sol1.py
1 parent 6639f18 commit 8f23ddc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: project_euler/problem_136/sol1.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ def solution(n_limit: int = 50 * 10**6) -> int:
3333
Define n count list and loop over delta, y to get the counts, then check
3434
which n has count == 1.
3535
36-
>>> solution(3)
37-
0
38-
>>> solution(10)
39-
2
36+
>>> solution(21)
37+
1
4038
>>> solution(100)
4139
25
4240
>>> solution(110)

0 commit comments

Comments
 (0)