Question: Using python Build a calculator The calculator must take at least 3 inputs from the user and then perform the following operations based on what

Using python Build a calculator The calculator must take at least 3 inputs from the user and then perform the following operations based on what the user wants to do. 1. Addition (+, add, ADD) 2. Subtraction (-, sub, SUB) 3. Division , div, DIV) 4. Multiplication (*, mul, MUL) 5. Integer Division (I/, idiv, IDIV) 6. Square (**, sg, square, SQ, SQUARE) 7. Degree to Radian and Radian to Degree (rad, RAD, deg, DEG) 1st input = first value 2nd input = second value 3rd input = operation Symbols shown above will be the types of observations the user can pick from, so the calculator must handle all the cases. The user can also type in character or special symbols as input, you need to handle those cases and display a message to the user that it is not a correct type of input. The only acceptable inputs are integers and floating-point values. Also, add a case of no input by the user. If the user doesn't type any input, prompt the user with a message to give input
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
