+ 1
Why's there an error
I need help with the calculator that im making and there's an error in line 4 and idk why https://sololearn.com/compiler-playground/cOuhypuQs3Cs/?ref=app
5 odpowiedzi
+ 2
Abdulrahman alturk
+,-,*,/ are strings in your code so they should be enclosed with quotations.
And it's "==" not "=" while comparing.
+ 1
still no difference
+ 1
Thanks 😊
0
+ is not a string. "+" is a string. same goes for the other operators in the comparisons.
0
Use two = symbols in if statements. By the way if you wanna get advanced in python then you should try making a complex project like (this code is totally not fake)
https://sololearn.com/compiler-playground/c6l8CNwt0gTZ/?ref=app