From f67d7c9bc53a40edbc5cc86397c0569f1c2b445f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 10 Dec 2021 07:02:14 +0100 Subject: Remove unused import --- 2021/06/puzzles.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/2021/06/puzzles.py b/2021/06/puzzles.py index c842e55..7799af2 100644 --- a/2021/06/puzzles.py +++ b/2021/06/puzzles.py @@ -5,13 +5,12 @@ # seeing this solution I couldn't help but realize how obvious it was. -import collections -from typing import Counter +from collections import Counter def main() -> None: with open("input", "r", encoding="utf-8") as f: - acc = collections.Counter(map(int, f.read().split(","))) + acc = Counter(map(int, f.read().split(","))) for _ in range(DAYS): n = acc[0] -- cgit v1.2.3