Everyone who can help me with this, Have been trying to solve the No Numeral challenge but there are still some mistake over it | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Everyone who can help me with this, Have been trying to solve the No Numeral challenge but there are still some mistake over it

All numeral in string should be converted to its word https://code.sololearn.com/cd85ES43b5yx/?ref=app

30th Jan 2021, 8:33 AM
Pee Frosh
Pee Frosh - avatar
3 ответов
+ 2
(1) replace reslt with strg (2) remove break and print(reslt) (3) add print(strg) after the while loop https://code.sololearn.com/cHv4Bp8Jv4Fn/?ref=app
30th Jan 2021, 8:42 AM
Panko
Panko - avatar
+ 2
Thanks to you all, everything has been corrected
30th Jan 2021, 1:07 PM
Pee Frosh
Pee Frosh - avatar
+ 1
Pee Frosh Your code fails whenever a "10" appears in the input. It will be switched to "onezero" rather than "ten".
30th Jan 2021, 11:56 AM
Russ
Russ - avatar