1 """Calculate the final position of the submarine"""
6 with open("2_1_input.txt") as f:
8 command, distance = line.split(" ")
9 distance = int(distance)
15 elif command == "forward":
17 depth += aim * distance
19 raise RuntimeError("you fucked it captain")
21 print(horizonal, depth, horizonal * depth)