+ 2
I made this program for (no numeral ) challenge in code coach but the but the result is wrong for the third case which is locked
https://code.sololearn.com/cL2W91VWKPUx/?ref=app Help me find the issue Since the case is locked I don't know how to fix the bug!!!
7 odpowiedzi
+ 2
Imagine input 10 will result in onezero and not in ten...
Moreover 57 would result in fiveseven, alhough it is bigger than 10
+ 2
update your code
+ 2
https://code.sololearn.com/cBXc9swhrOVO/?ref=app
You can use dictionaries also for the solution
+ 2
Although I like your aproach of using lists because they are much less complicated ✌️
+ 2
Actually even I used dict before but it was showing index error
which I didn't try to figure out then turned to list
+ 2
In the 13th line , why is i+2 required ?
It is showing error
When I removed the 'i+2' , it was working fine ✌️
+ 1
There are some other bugs also coz case 3 is still wrong