This commit is contained in:
cupcakearmy 2021-12-03 08:58:27 +01:00
parent 16519df445
commit 3ecbf06956

View File

@ -5,7 +5,7 @@ to: <%= year %>/<%= day %>/python/main.py
from os.path import join, dirname from os.path import join, dirname
# Day 01 # Day <%= day %>
# Common # Common
@ -13,7 +13,7 @@ from os.path import join, dirname
def read_input(filename): def read_input(filename):
data = join(dirname(__file__), '..', filename) data = join(dirname(__file__), '..', filename)
with open(data) as f: with open(data) as f:
return f.read() return f.read().strip()
# 1 # 1