a simple calculator that performs addition, subtraction, multiplication and division
- create a dictionary with the options as keys and the functions as values
- create a while loop that runs until the user decides to stop
- ask the user to select an operation
- if the user selects a valid operation, ask the user to enter two numbers
- if the user selects an invalid operation, print an error message
- if the user selects a valid operation, perform the operation on the two numbers
- print the result
- ask the user if they want to perform another calculation
- if the user wants to perform another calculation, repeat steps 3-8
- if the user does not want to perform another calculation, exit the loop
- open the terminal
- navigate to the directory that contains the app
- type
python calculator.pyand press enter
- open the terminal
- navigate to the directory that contains the app
- type
pytestand press enter