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

@@ -6,7 +6,7 @@ def exp_log(base, power):
def read_exps():
with open("../txt/EulerProblem099.txt", "r") as f:
with open("../txt/e099.txt", "r") as f:
return [(exp_log(int(s[0]), int(s[1])), i + 1)
for i, line in enumerate(f.readlines())
if (s := line.split(","))]