From 801e4747a230f88a2ef63de2a3999714496c69fe Mon Sep 17 00:00:00 2001 From: Pascal Lais Date: Mon, 13 Dec 2021 09:31:58 +0100 Subject: [PATCH] Update day 12 solution --- day-12/day-12.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/day-12/day-12.py b/day-12/day-12.py index 2ae1617..4ac07f6 100644 --- a/day-12/day-12.py +++ b/day-12/day-12.py @@ -46,8 +46,7 @@ def part_1(input): n_start, n_end = line.strip().split('-') e = (n_start, n_end) edges.append(e) - paths = process_node("start", edges, set()) - result = len(paths) + result = process_node("start", edges, set()) print("Part 1 result:", result)