diff options
author | Thomas Voss <thomasvoss@live.com> | 2021-12-10 06:56:46 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2021-12-10 06:56:46 +0100 |
commit | bebaa56ba197ab3cf5230c070e11eab63568d538 (patch) | |
tree | e7604a920ce56a277b2e94d61da34018c7b92648 | |
parent | 2025999a05b601075ba4b255121e38d5d6255800 (diff) |
Fix typehint
-rw-r--r-- | 2021/10/puzzles.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/2021/10/puzzles.py b/2021/10/puzzles.py index f423c43..bf6a923 100644 --- a/2021/10/puzzles.py +++ b/2021/10/puzzles.py @@ -1,8 +1,7 @@ #!/usr/bin/env python3 # START PART 1 -import collections -from typing import Counter +from collections import Counter # END PART 1 START PART 2 from functools import reduce # END PART 2 @@ -15,7 +14,7 @@ def main() -> None: data = list(map(lambda l: l.strip(), f.readlines())) # START PART 1 - counts: Counter[int] = Counter() + counts: Counter[char] = Counter() # END PART 1 START PART 2 scores: list[int] = [] # END PART 2 |