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

@@ -1,5 +1,5 @@
def get_words():
with open("../txt/EulerProblem042.txt", "r") as f:
with open("../txt/e042.txt", "r") as f:
s = f.read()
words = [w.strip('"') for w in s.split(",")]
return words