Skip to content

Commit 25b1921

Browse files
committed
Remove debug prints from day 4
1 parent 4b29b8b commit 25b1921

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

2024/04.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,10 @@ def part_1():
6565
buf = buf[1:] + [line]
6666

6767
total += xmas_line(buf[-1])
68-
dprint(
69-
f"""
70-
== line: {line}
71-
== buf:
72-
{"\n".join(buf)}
73-
== xmas_line: {xmas_line(buf[-1])}"""
74-
)
7568
if len(buf) < 4:
76-
dprint(f"== total: {total}")
7769
continue
7870
total += xmas_column(buf)
7971
total += xmas_diagonal(buf)
80-
dprint(f"== xmas_column: {xmas_column(buf)}")
81-
dprint(f"== xmas_diagonal: {xmas_diagonal(buf)}")
82-
dprint(f"== total: {total}")
8372

8473
print(f"Part 1: {total}")
8574

0 commit comments

Comments
 (0)