Difficulty in python No Numbers question of Code Coach (Sololearn). | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Difficulty in python No Numbers question of Code Coach (Sololearn).

I tried the No Numbers question of Code Coach in Python (https://www.sololearn.com/coach/64?ref=app), and my code (attached) worked for all cases but one. (Case 3) That case is hidden, though, so I don't know what's wrong. If you have any idea what I'm missing, or any flaw in my code, or code that works for all cases, please do tell. Thanks. https://code.sololearn.com/ccV6tADZm0cg/?ref=app

25th Jul 2020, 11:25 AM
Green05
Green05 - avatar
2 Answers
+ 2
Green05 , you should include in your list dict "ten", also change in the loop range should be 11 🐱
25th Jul 2020, 11:30 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
TheWh¡teCat 🇧🇬 Thanks! That was stupid of me.
25th Jul 2020, 2:13 PM
Green05
Green05 - avatar