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

This commit is contained in:
2021-12-13 12:45:58 +01:00
parent 87e8ab9c6a
commit 03633c432f

View File

@@ -50,8 +50,8 @@ def part_2(input):
max_x = max([x for x, _ in dots]) max_x = max([x for x, _ in dots])
max_y = max([y for _, y in dots]) max_y = max([y for _, y in dots])
print("Part 2 result:") print("Part 2 result:")
for y in range(max_y): for y in range(max_y + 1):
for x in range(max_x): for x in range(max_x + 1):
if (x, y) in dots: if (x, y) in dots:
print('', end='') print('', end='')
else: else: