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

@@ -110,7 +110,7 @@ def read_hands():
in the tuple represents a hand.
"""
hands = []
with open("../txt/EulerProblem054.txt", "r") as f:
with open("../txt/e054.txt", "r") as f:
for line in f.readlines():
cards = line.strip().split(" ")
hands.append((cards[:5], cards[5:]))