mirror of
https://github.com/thib8956/advent-of-code.git
synced 2026-11-06 10:02:27 +00:00
make 2020 compatible with run.py
This commit is contained in:
1 parent
f9abb90915
commit
9c76828788
14 files changed
+119
-81
No files matched your search
+5
-2
@@ -17,5 +17,8 @@ def part2(inp):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
with open("input.txt") as f:
|
||||
part2(f.readlines())
|
||||
import fileinput
|
||||
lines = [x for x in fileinput.input()]
|
||||
part1(lines)
|
||||
part2(lines)
|
||||
|
||||
Reference in new issue
Block a user