From 0e2b0fb7bd5c52342e388c7fe93df8bc991f067a Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Thu, 4 Dec 2025 11:27:22 -0400 Subject: [PATCH] pep bullshit --- 2025/04/solution.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2025/04/solution.py b/2025/04/solution.py index aa5a3a8..bea6d2c 100644 --- a/2025/04/solution.py +++ b/2025/04/solution.py @@ -46,6 +46,7 @@ print(count) # part 2 count_two = 0 + def remove_rolls(count, table): for y in range(1, len(table) - 1): for x in range(1, len(table[0]) - 1): @@ -63,9 +64,10 @@ def remove_rolls(count, table): table[y][x] = empty return count, table + prev = -1 table_two = padded_table.copy() while prev != count_two: prev = count_two count_two, table_two = remove_rolls(count_two, table_two) -print(count_two) \ No newline at end of file +print(count_two)