-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
12 lines (9 loc) · 709 Bytes
/
main.py
File metadata and controls
12 lines (9 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
from transliterate import translit
from num2words import num2words
print(translit('''Ladies and gentlemen, I'm 78 years old and I finally got 15 minutes
of fame once in a lifetime and I guess that this is mine. People have also told me to make these next few minutes
escruciatingly embarrassing and to take vengeance of my enemies. Neither will happen.
More than 3 years ago I moved to Novo-Novsk, but worked on new Magnetic Storage for last 40. When I was 8...
''', 'ru'))
print('78 - ' + translit(num2words(78), 'ru'), '15 - ' + translit(num2words(15), 'ru'),
'3 - ' + translit(num2words(3), 'ru'), '40 - ' + translit(num2words(40), 'ru'), '8 - ' + translit(num2words(8), 'ru'), sep = '\n')