We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2dbda0 commit a02158dCopy full SHA for a02158d
1 file changed
_2025/solutions/day02.py
@@ -67,8 +67,8 @@ def part1(self, data: list[str]) -> int:
67
-------
68
int: Solution for part 1 of the puzzle
69
"""
70
- check_for_two_repeats = partial(self.has_repeated_sequence, num_repeats=2)
71
- return self.solve_part(data, check_for_two_repeats)
+ check_func = partial(self.has_repeated_sequence, num_repeats=2)
+ return self.solve_part(data, check_func)
72
73
def part2(self, data: list[str]) -> int:
74
"""Solve the second part of the daily puzzle.
0 commit comments