Created
December 9, 2021 14:43
-
-
Save spapas/b77c8d905f5c790bf5c5e796a3bf1d45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Measurements import find | |
sums_list =[] | |
with open('input', 'r') as f: | |
l=[int(i) for i in f.readlines()] | |
for idx in range(2, len(l)): | |
sums_list.append(l[idx] + l[idx-1] + l[idx-2]) | |
print(find(sums_list)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment