We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e2cdd3 commit 00f4a5dCopy full SHA for 00f4a5d
stanfordkarel/karel_ascii.py
@@ -9,13 +9,14 @@
9
from __future__ import annotations
10
11
from enum import Enum, unique
12
-from typing import Any, Iterator
+from typing import Any, Dict, Iterator, Tuple
13
14
from .karel_world import Direction, KarelWorld
15
16
CHAR_WIDTH = 5
17
HORIZONTAL, VERTICAL = "─", "│"
18
SPACING = 10
19
+BEEPER_COORDS = Dict[Tuple[int, int], int]
20
21
22
class Tile: # pylint: disable=too-few-public-methods
@@ -175,9 +176,6 @@ class Color(Enum):
175
176
END = "\033[0m"
177
178
-BEEPER_COORDS = dict[tuple[int, int], int]
179
-
180
181
def compare_output(first: Any, second: Any) -> str:
182
""" Compares Karel Output and gets the results. """
183
0 commit comments