Skip to content

Commit 930ab79

Browse files
committed
fix the return type for part2
1 parent 9e0aef7 commit 930ab79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

day01/day01_part2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from functools import reduce
55
from itertools import combinations
66

7-
def calc_2020(inlist: List[int], num: int = 2) -> Tuple[int, int]:
7+
def calc_2020(inlist: List[int], num: int = 2) -> Tuple[int, ...]:
88
"""compare all numbers in inlist with each other.
99
If the sum of two numbers results in 2020,
1010
return the first two numbers as a tuple"""

0 commit comments

Comments
 (0)