mirror of
https://github.com/thib8956/advent-of-code.git
synced 2025-08-24 00:11:57 +00:00
chore: create new project structure and aoc.py runner script
This commit is contained in:
14
adventofcode/2020/day2/day2.py
Normal file
14
adventofcode/2020/day2/day2.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import part1
|
||||
import part2
|
||||
|
||||
|
||||
def main(lines):
|
||||
part1.main(lines)
|
||||
part2.main(lines)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import fileinput
|
||||
lines = [x for x in fileinput.input()]
|
||||
main(lines)
|
||||
|
Reference in New Issue
Block a user