+ 1

Please help me solve No numeral problem

I tried a lot many times but only 5 out of 6 test cases are passed. The 3rd case is missed everytime. Please help! https://www.sololearn.com/coach/64?ref=app

24th Jun 2020, 5:06 AM
Applet
Applet - avatar
5 Answers
+ 1
The test case no 3 includes "10" in the input string like "i have 10 pens" so out put must be "i have ten pens" so make sure your your program dont output "i have onezero pens".
24th Jun 2020, 6:05 AM
Pradeep Kumar Prajapati
Pradeep Kumar Prajapati - avatar
+ 3
Hint: Just replace 0-9 numbers with their spellings
24th Jun 2020, 5:22 AM
Arctic Fox
Arctic Fox - avatar
+ 3
Add 0-10 in your code.
24th Jun 2020, 5:33 AM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
+ 1
Post you code link instead of challenge itself. We can't access your attempt from there.
24th Jun 2020, 5:18 AM
Valmob101
Valmob101 - avatar
+ 1
Thankyou so much Pradeep Kumar Prajapati
3rd Jul 2020, 3:45 AM
Applet
Applet - avatar