Skip to content

Commit f156f45

Browse files
Update sol1.py
1 parent 1bb57c2 commit f156f45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: project_euler/problem_136/sol1.py

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ 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
3640
>>> solution(21)
3741
1
3842
>>> solution(100)

0 commit comments

Comments
 (0)