Fix day 13 output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-12-13 06:40:40 +01:00
parent d45e0ef80e
commit 7928680a02

View File

@@ -53,6 +53,7 @@ def part_2(input):
for d in dots: for d in dots:
max_x = max(max_x, d[0] + 1) max_x = max(max_x, d[0] + 1)
max_y = max(max_y, d[1] + 1) max_y = max(max_y, d[1] + 1)
print("Part 2 result:")
for y in range(max_y): for y in range(max_y):
for x in range(max_x): for x in range(max_x):
if (x, y) in dots: if (x, y) in dots:
@@ -60,7 +61,6 @@ def part_2(input):
else: else:
print(' ', end='') print(' ', end='')
print() print()
print("Part 2 result:", result)
input = list() input = list()