why doesn't it work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
3rd May 2021, 6:54 PM
Dico
3 Answers
+ 1
remove all indents before if.
3rd May 2021, 6:58 PM
Oma Falk
Oma Falk - avatar
+ 2
Why don't you use switch case or else use dictionary to solve this problem
3rd May 2021, 7:03 PM
Aysha
Aysha - avatar
0
thanks for the answers. I have removed all indents before de if and it works now.
3rd May 2021, 7:11 PM
Dico