aboutsummaryrefslogtreecommitdiff
path: root/2021
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-10 07:02:14 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-10 07:02:14 +0100
commitf67d7c9bc53a40edbc5cc86397c0569f1c2b445f (patch)
tree14323b1dae2939120c7323605d7ee4dd76d47ba8 /2021
parentbebaa56ba197ab3cf5230c070e11eab63568d538 (diff)
Remove unused import
Diffstat (limited to '2021')
-rw-r--r--2021/06/puzzles.py5
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]