python....

This commit is contained in:
Mylloon 2023-12-04 16:02:22 +01:00
parent f28497d0d8
commit fe493d647d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,6 +1,6 @@
def part1(file: str): def part1(file: str):
array = []
with open(file) as f: with open(file) as f:
array = []
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("|")]: