Solution to problem 7 in Python

This commit is contained in:
David Doblas Jiménez 2022-03-13 18:45:58 +01:00
parent 4a2d3db28d
commit b030ba8609
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ with open("files/P7.txt") as f:
towers = [line for line in f.read().strip().split("\n")]
def part_1():
def part_1() -> None:
parents, childs = [], []
for line in towers:
if "->" in line: