pep bullshit

This commit is contained in:
2025-12-04 11:27:22 -04:00
parent d8f80c1738
commit 0e2b0fb7bd

View File

@@ -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)
print(count_two)