Euler txt files now follow naming convention

This commit is contained in:
2021-04-22 15:17:19 -04:00
parent 5be3b11e54
commit 7825acbd73
21 changed files with 11 additions and 10 deletions

View File

@@ -63,7 +63,7 @@ def save_characters(numeral):
def euler_089():
tests()
with open("../txt/EulerProblem089.txt") as f:
with open("../txt/e089.txt") as f:
numerals = map(lambda l: l.strip(), f.readlines())
return sum(map(save_characters, numerals))