0
Hi y all ,im struggling to get the hidden test on the problem where i should eliminate the numerics to word plz help me
User should put numbers from 0-10 ,in my program I'm struggling to accommodate 10 ,since it says onezero in my output,how can I fix this plz help https://www.sololearn.com/post/368653/?ref=app
5 Antworten
+ 1
Post your code so we can see what the issue is.
+ 1
Try split() your input into words. Add the item "10": "ten" to your dictionary. Then loop over the words and do your isdigit comparison. You may also need to make sure that the int() value of the word is less than 11 or not greater than 10.
0
Sorry I was struggling to post this