diff options
-rw-r--r-- | 14.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,5 @@ # pyright: strict +from collections.abc import Callable from enum import Enum, auto from itertools import chain, count from sys import stdin @@ -50,6 +51,7 @@ class Platform: self.height = len(state) def settle(self, direction: Dir): + xlate: Callable[[int, int], int] if direction in {Dir.NORTH, Dir.SOUTH}: lines = self.width line_length = self.height |