add day1
This commit is contained in:
BIN
aoclib/__pycache__/aoclib.cpython-311.pyc
Normal file
BIN
aoclib/__pycache__/aoclib.cpython-311.pyc
Normal file
Binary file not shown.
BIN
aoclib/__pycache__/aoctools.cpython-311.pyc
Normal file
BIN
aoclib/__pycache__/aoctools.cpython-311.pyc
Normal file
Binary file not shown.
8
aoclib/aoclib.py
Normal file
8
aoclib/aoclib.py
Normal file
@@ -0,0 +1,8 @@
|
||||
class Input(object):
|
||||
def __init__(self, filename):
|
||||
with open(filename, 'r') as f:
|
||||
self._lines = list(l.strip() for l in f.readlines())
|
||||
|
||||
def lines(self):
|
||||
return self._lines
|
||||
|
Reference in New Issue
Block a user