mirror of
https://github.com/RGBCube/AdventOfCode
synced 2025-07-25 11:07:45 +00:00
Fix python answer
This commit is contained in:
parent
6d86d57a77
commit
2936b42463
1 changed files with 1 additions and 1 deletions
|
@ -1 +1 @@
|
|||
print(sum(int("".join((lambda a:[a[0],a[-1]])(list(filter(lambda c:c.isdigit(),l)))))for l in __import__("pathlib").Path("1-1.in").read_text().splitlines()))
|
||||
print(sum(int("".join((lambda a:[a[0],a[-1]])(list(filter(lambda c:c.isdigit(),l)))))for l in open("1.in").read().splitlines()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue