day 1 part 1
This commit is contained in:
commit
d5431f6dee
2 changed files with 2238 additions and 0 deletions
2
1.py
Normal file
2
1.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
with open("input1.txt") as f:
|
||||||
|
print(max(map(lambda a: sum(map(lambda b: int(b), a.split('\n'))) , f.read().split("\n\n"))))
|
2236
input1.txt
Normal file
2236
input1.txt
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue