can anyone help me what is wrong with my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

can anyone help me what is wrong with my code

it is showing some syntax error on line 52 maybe this is the link you may see it https://code.sololearn.com/caHEhm1MDHc6/#py name of the code is calculator please help me

9th Aug 2020, 2:30 PM
Tayyib
Tayyib - avatar
2 Answers
+ 1
You used the elif statement wrongly. If you're going to use the "elif", the for loop has to go under the if statement and then, the elif condition statement can be valid.
9th Aug 2020, 2:32 PM
Fatunmbi Teniola
+ 2
Line number 43-50 are in wrong place. Make it indent under the if
9th Aug 2020, 2:33 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar