0
[SOLVED] no numericals challenge
why 3rd case is failed ? https://www.sololearn.com/coach/64?ref=app My attempt : https://code.sololearn.com/cuIJaZ1V82Wp/?ref=app
1 Réponse
+ 4
your code fails for number 10 if I'm not wrong!
try running with this input "i have 10 apples and 3 bananas!" your code is displaying "onezero" instead of "ten", why?
because you are checking characters by characters, one quick fix is first split the input into list and then follow your algorithms but instead of replace direct print them