diff options
author | Thomas Voss <thomasvoss@live.com> | 2021-12-10 07:02:14 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2021-12-10 07:02:14 +0100 |
commit | f67d7c9bc53a40edbc5cc86397c0569f1c2b445f (patch) | |
tree | 14323b1dae2939120c7323605d7ee4dd76d47ba8 /2021 | |
parent | bebaa56ba197ab3cf5230c070e11eab63568d538 (diff) |
Remove unused import
Diffstat (limited to '2021')
-rw-r--r-- | 2021/06/puzzles.py | 5 |
1 files 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] |