This commit is contained in:
Daniel Cortés
2020-12-03 02:44:40 -03:00
parent bf474e6381
commit 51784c7d82

View File

@@ -1,8 +1,7 @@
with open('input') as f: with open('input') as f:
data = [line.strip() for line in f] data = [line.strip() for line in f]
width, height = (len(data[0], len(data)) width, height = (len(data[0]), len(data))
slopes = ((1, 1), (3, 1), (5, 1), (7, 1), (1, 2)) slopes = ((1, 1), (3, 1), (5, 1), (7, 1), (1, 2))
result = 1 result = 1