From b030ba8609f941c95704c3d23bfa3f6ce7e392bd Mon Sep 17 00:00:00 2001 From: daviddoji Date: Sun, 13 Mar 2022 18:45:58 +0100 Subject: [PATCH] Solution to problem 7 in Python --- src/Year_2017/P7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Year_2017/P7.py b/src/Year_2017/P7.py index 7a1c5b5..ed9b235 100644 --- a/src/Year_2017/P7.py +++ b/src/Year_2017/P7.py @@ -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: