This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user