We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0aef7 commit 930ab79Copy full SHA for 930ab79
day01/day01_part2.py
@@ -4,7 +4,7 @@
4
from functools import reduce
5
from itertools import combinations
6
7
-def calc_2020(inlist: List[int], num: int = 2) -> Tuple[int, int]:
+def calc_2020(inlist: List[int], num: int = 2) -> Tuple[int, ...]:
8
"""compare all numbers in inlist with each other.
9
If the sum of two numbers results in 2020,
10
return the first two numbers as a tuple"""
0 commit comments