- 1
No Numerals
s=input(). replace("10","ten") d={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten"} for i in d.keys() : s=s.replace(str(i),d[i]) print (s)
4 ответов
s=input(). replace("10","ten") d={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten"} for i in d.keys() : s=s.replace(str(i),d[i]) print (s)