Description: In Lab 2 we wrote a program that displays a menu to the user with the following options:
(1) enter a number (2) exit.
Unfortunately I tried the lab experiment with python and received a syntax error when trying to run it.
Code:
1- The sum x + y
2- The difference x – y
3- The product x * y
4- The quotient x/y
5- The remainder x%y
6- Whether x is less than, equal, or greater than y
Screenshot: