2018 day 1 part 1

This commit is contained in:
Dece 2019-12-22 01:34:48 +01:00
parent e497884c30
commit 2386c6ad12

3
2018/day1.py Normal file
View file

@ -0,0 +1,3 @@
import sys
print(sum(int(line.rstrip()) for line in sys.stdin.readlines()))