Skip to content

Commit dc0fd8a

Browse files
committed
[mypy] fix type annotations for project euler problem046/sol1
1 parent cecf43d commit dc0fd8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

project_euler/problem_046/sol1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def compute_nums(n: int) -> list[int]:
8585
if len(list_nums) == n:
8686
return list_nums
8787

88+
return []
89+
8890

8991
def solution() -> int:
9092
"""Return the solution to the problem"""

0 commit comments

Comments
 (0)