Change file location
This commit is contained in:
parent
d4c643267a
commit
c3a4e0a627
@ -17,7 +17,7 @@ function Problem13()
|
|||||||
Work out the first ten digits of the sum of the following one-hundred
|
Work out the first ten digits of the sum of the following one-hundred
|
||||||
50-digit numbers
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ def compute():
|
|||||||
50-digit numbers.
|
50-digit numbers.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
with open("files/Problem13.txt", "r") as f:
|
with open("../files/Problem13.txt", "r") as f:
|
||||||
num = f.readlines()
|
num = f.readlines()
|
||||||
result = 0
|
result = 0
|
||||||
for line in num:
|
for line in num:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user