We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19ba8b1 commit 2a1e633Copy full SHA for 2a1e633
1 file changed
_2025/solutions/day07.py
@@ -46,7 +46,8 @@ def find_start(self, grid: list[list[str]]) -> tuple[int, int]:
46
if cell == "S":
47
return (x, y)
48
49
- raise ValueError("No 'S' start cell found in grid!")
+ err_msg = "No 'S' start cell found in grid!"
50
+ raise ValueError(err_msg)
51
52
def part1(self, data: list[str]) -> int:
53
"""Count how many splitters are activated along a single beam front.
0 commit comments