Euler txt files now follow naming convention
This commit is contained in:
@@ -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(","))]
|
||||
|
||||
Reference in New Issue
Block a user