Skip to content

Commit a2e06b8

Browse files
committed
This was part of Day 05, Part 2
1 parent 1ff4cb6 commit a2e06b8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

day_05/__main__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ def generate_points(line: Line):
1717
x_step = sign(line.to_point.x-line.from_point.x)
1818
y_step = sign(line.to_point.y-line.from_point.y)
1919

20-
if x_step != 0 and y_step != 0:
21-
return
22-
2320
pos = line.from_point
2421
end = line.to_point
2522
while pos != end:

0 commit comments

Comments
 (0)