typo :c
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
with open('input') as f:
|
||||
data = [line.strip() for line in f]
|
||||
|
||||
width, height = (len(data[0], len(data))
|
||||
|
||||
slopes = ((1, 1),(3, 1),(5, 1),(7, 1),(1, 2))
|
||||
width, height = (len(data[0]), len(data))
|
||||
slopes = ((1, 1), (3, 1), (5, 1), (7, 1), (1, 2))
|
||||
|
||||
result = 1
|
||||
for slope in slopes:
|
||||
|
||||
Reference in New Issue
Block a user