Day 3: Toboggan Trajectory
problem Parsing the Input The input this time is a file consisting of ‘#’ and ‘.’ and we only need a list of each line. We can accomplish this by using the file.readlines() function. Part 1 The file above is a map of the terrain, which repeats indefinitely horizontally. The goal is to count the…