Skip to content

Commit 1653e38

Browse files
authored
Update convert_number_to_words.py
1 parent cdaf971 commit 1653e38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

conversions/convert_number_to_words.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def max_value(cls, system: str) -> int:
5454

5555

5656
class NumberWords(Enum):
57-
ONES: ClassVar[dict[int, str]] = {
57+
ONES = {
5858
0: "",
5959
1: "one",
6060
2: "two",
@@ -67,7 +67,7 @@ class NumberWords(Enum):
6767
9: "nine",
6868
}
6969

70-
TEENS: ClassVar[dict[int, str]] = {
70+
TEENS = {
7171
0: "ten",
7272
1: "eleven",
7373
2: "twelve",
@@ -80,7 +80,7 @@ class NumberWords(Enum):
8080
9: "nineteen",
8181
}
8282

83-
TENS: ClassVar[dict[int, str]] = {
83+
TEN = {
8484
2: "twenty",
8585
3: "thirty",
8686
4: "forty",

0 commit comments

Comments
 (0)