7 move_types = ((1,1), (3,1), (5,1), (7,1), (1,2))
9 for move in move_types:
14 for line in open("input.txt", "r"):
16 print(move[1], line_offset)
17 if line_offset < move[1] or first_line:
19 if line_offset >= move[1]:
23 if line[position] == "#":
26 if position >= len(line):
27 position = position - len(line)
28 trees_count.append(tree_count)
36 print("There were", mult_result, "trees")