2017 Day 11 Part 1
This commit is contained in:
parent
bd0b54b3ca
commit
85f3aa600d
4 changed files with 70 additions and 0 deletions
10
2017/aoc.py
Normal file
10
2017/aoc.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import os
|
||||
|
||||
|
||||
def input_path(day: int) -> str:
|
||||
return os.path.join(os.path.dirname(__file__), "input", f"day{day:>02}")
|
||||
|
||||
|
||||
def puzzle_input(day: int) -> str:
|
||||
with open(input_path(day)) as f:
|
||||
return f.read().strip()
|
||||
Loading…
Reference in a new issue