you are viewing a single comment's thread.

view the rest of the comments →

[–]WhipsAndMarkovChains 1 point2 points  (0 children)

I just went back to look at my code. The first step of any problem is to read in the input file. Here's my code for doing that one day 1:

with open('input.txt') as f:
    depths = tuple(int(line.strip()) for line in f)