mirror of
https://github.com/thib8956/advent-of-code.git
synced 2026-06-15 21:48:16 +00:00
2015 day 15
This commit is contained in:
@@ -14,12 +14,13 @@ import fileinput
|
||||
|
||||
|
||||
def main(inp):
|
||||
for l in inp:
|
||||
print(l)
|
||||
for line in inp:
|
||||
print(line)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
lines = [x.rstrip() for x in fileinput.input()]
|
||||
with fileinput.input() as f:
|
||||
lines = [x.rstrip() for x in fileinput.input()]
|
||||
main(lines)
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user