-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
12 lines (10 loc) · 713 Bytes
/
main.py
File metadata and controls
12 lines (10 loc) · 713 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'))
print("15 - ", translit(num2words(15), 'ru'))
print("3 - ", translit(num2words(3), 'ru'))
print("40 - ", translit(num2words(40), 'ru'))
print("8 - ", translit(num2words(8), 'ru'))