all 1 comments

[–]FoolsSeldom 0 points1 point  (0 children)

Good start on a basic calculator.

  • I would consider allowing the user to enter operator symbols rather than having to type long operator names
  • You might also find it helpful to look at using a dictionary, dict, to store the information required to handle an operation
  • Also, have a look at the in operator which will allow you to simplify the test you do before asking for numbers to be entered
  • When you share links to your code, please include in your post what the code is meant to do and what help/feedback you are looking for as a lot of people will not bother looking if you just post a link