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

@@ -3,7 +3,7 @@ from lib_a_star import A_Star
def get_grid():
with open("../txt/EulerProblem081.txt", "r") as f:
with open("../txt/e081.txt", "r") as f:
grid = list(map(lambda line: list(map(int, line.split(","))),
f.readlines()))
return grid