+ 4
I don’t get what’s wrong.
Click run then submit and then it displays an error with my code but I don’t get it. Help? Link to code: https://code.sololearn.com/c67xf10uNltM/?ref=app
6 Respuestas
+ 8
Line 57 is incomplete.
Also, I don't think that your code will work in Sololearn.
+ 4
the last line is incomplete. and it doesnt let the user to give another input after the operation.
complete your last line whatever it might be. then write another input() inside the loop, but outside if-elif-else
+ 3
You should finish your last statement,
+ 3
There is a lot of redundancy in the code. For each task add, subtract, ... you have the same code that gets the input.
+ 3
when you use an else statement it means if none of the if conditions are true then execute this code
in your case you should have done
else:
print("Bad Expression")
on line 57
also it won't run on Sololearn.. But it will work in another compiler