python....
This commit is contained in:
parent
f28497d0d8
commit
fe493d647d
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
def part1(file: str):
|
def part1(file: str):
|
||||||
with open(file) as f:
|
|
||||||
array = []
|
array = []
|
||||||
|
with open(file) as f:
|
||||||
for line in f:
|
for line in f:
|
||||||
tmp = []
|
tmp = []
|
||||||
for el in [i.split(" ") for i in line.split(":")[1].split("|")]:
|
for el in [i.split(" ") for i in line.split(":")[1].split("|")]:
|
||||||
|
|
Loading…
Reference in a new issue