0
Pls, I tried the SIMPLE CALCULATOR and had an error
8. user_input=input(":") 9. 10. if user_input=="quit': 11. break 12. elif user_input=="add": 13. ... 14. elif user_input=="subtract": 15. ... It always points me to line 13, saying SyntaxError: invalid syntax. I need help here pls
2 Answers
0
What is represented by the "..."? If you actually have "..." in your code, that's a big no-no. You need another thing. If you want it to reiterate, use "continue".
0
Oh. And helpful tip: this app runs a version of Python that is different from your computer's IDLE. So programs that work there might not work here.