blob: 80ae2ac199c04d85699007885edd2bed9d0b087e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
NUMBERS_TO_STRINGS = {
1: "one",
2: "two",
3: "three",
4: "four",
5: "five",
6: "six",
7: "seven",
}
def to_string(x):
return f"This is {NUMBERS_TO_STRINGS.get(x)}."
|