Fix reading of input file
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -72,7 +72,7 @@ def game_of_life(input):
|
|||||||
|
|
||||||
|
|
||||||
input = list()
|
input = list()
|
||||||
p = Path(__file__).with_name('input2.txt')
|
p = Path(__file__).with_name('input.txt')
|
||||||
with open(p) as f:
|
with open(p) as f:
|
||||||
input = f.readlines()
|
input = f.readlines()
|
||||||
part_1(input)
|
part_1(input)
|
||||||
|
|||||||
Reference in New Issue
Block a user