Question: In this assignment you are asked to write a Python program to act as a simple calculator. The program should do the following 1. Prompt
In this assignment you are asked to write a Python program to act as a simple calculator. The program should do the following 1. Prompt the user for one of the arithmetic operators (Cop'): +,-, ",/, or 2. Prompt the user for two input integers ('a' and b') 3. The input integers can be positive or negative 4. Perform the arithmetic operation using the two input numbers 5. The first entered number (a) is the left side, the second ('b') the right side of the operation. For exponentiation, the first number is the base, the second the exponent. Print (display) the following messages (but not the quotes), including the prompts: Start of Calculator Program" Enter the desired operation (+,, ,**):this is a user prompt "Enter the input number:" "Enter the second input number: "
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
