Change file location

This commit is contained in:
David Doblas Jiménez 2021-07-24 10:22:07 +02:00
parent d4c643267a
commit c3a4e0a627
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ function Problem13()
Work out the first ten digits of the sum of the following one-hundred
50-digit numbers
=#
return string(sum(parse.(BigInt,readlines("../Python/files/Problem13.txt"))))[1:10]
return string(sum(parse.(BigInt,readlines("../files/Problem13.txt"))))[1:10]
end

View File

@ -19,7 +19,7 @@ def compute():
50-digit numbers.
"""
with open("files/Problem13.txt", "r") as f:
with open("../files/Problem13.txt", "r") as f:
num = f.readlines()
result = 0
for line in num: