Skip to content

Alex149505/dvmn-py_basics-02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

dvmn-py_basics-02

from transliterate import get_available_language_codes 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.\n 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(num2words(42),num2words(42, to='ordinal'),num2words(42, lang='fr'), sep= '\n') print("78-", end=" ") print(translit(num2words(78), 'ru')) print("15-" , end=" ") print(translit(num2words(15), 'ru')) print("3-", end=" ") print(translit(num2words(3), 'ru')) print("40-", end=" ") print(translit(num2words(40), 'ru')) print("8-", end=" ") print(translit(num2words(8), 'ru'))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors