+ 1

What's wrong with my calculator???

Help me!! I referred this code from YouTube but it's not working. Here's the link. https://code.sololearn.com/cr75zWhAEv3v/?ref=app

22nd Apr 2020, 9:43 AM
Farisha Hanan
3 RĂ©ponses
+ 5
You need to remove spaces in the operators: " + " - no, "+" - yes.
22nd Apr 2020, 10:11 AM
Solo
Solo - avatar
+ 3
Trim the spaces in the operation variable
22nd Apr 2020, 10:09 AM
deeyae
deeyae - avatar
+ 2
Thank you very much Vasiliy and Dhanush Adithya! It works!😊
22nd Apr 2020, 12:58 PM
Farisha Hanan