0

Where is the error?

python code coach gives error in test case 3 but I dont know where is the error can you help me? https://code.sololearn.com/cMedR3eHrkZa/?ref=app

1st Mar 2020, 7:42 PM
meow
meow - avatar
3 Respuestas
+ 5
Have you read the task description carefully? it says: Task: Take a phrase and replace any instances of an integer from 0-10 and replace it with the English word that corresponds to that integer. with your current code you can only replace integers from 0 to 9 with the corresponding word.
1st Mar 2020, 7:54 PM
Lothar
Lothar - avatar
+ 2
You are supposed to replace 10 as well.
1st Mar 2020, 7:54 PM
HonFu
HonFu - avatar
+ 1
thank you :)
1st Mar 2020, 9:11 PM
meow
meow - avatar