From 7928680a027fcb36f2763dbab49f162f9fb2a624 Mon Sep 17 00:00:00 2001 From: Pascal Lais Date: Mon, 13 Dec 2021 06:40:40 +0100 Subject: [PATCH] Fix day 13 output --- day-13/day-13.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day-13/day-13.py b/day-13/day-13.py index e92907d..75c7b8f 100644 --- a/day-13/day-13.py +++ b/day-13/day-13.py @@ -53,6 +53,7 @@ def part_2(input): for d in dots: max_x = max(max_x, d[0] + 1) max_y = max(max_y, d[1] + 1) + print("Part 2 result:") for y in range(max_y): for x in range(max_x): if (x, y) in dots: @@ -60,7 +61,6 @@ def part_2(input): else: print(' ', end='') print() - print("Part 2 result:", result) input = list()