diff --git a/day01.py b/day01.py index a2a817e..83b125d 100644 --- a/day01.py +++ b/day01.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -f = open("day1input.txt", "r") +f = open("day01input.txt", "r") a = f.readlines() b = list(map(str.strip, a)) c = list(map(lambda x: -int(x[1:]) if x[0] == "L" else int(x[1:]), b))