blob: 0c4032f53e7c3f5708959e24c768806383ae1371 (
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)}.'
|