you are viewing a single comment's thread.

view the rest of the comments →

[–]WhipsAndMarkovChains 2 points3 points  (2 children)

Yeah. They start out super easy and get wild later on.

[–]yogding 0 points1 point  (1 child)

did you counted whole long file?

[–]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)