Question: Come up with a Python program that accepts at least three values as input: an operator (e.g. +, -, *, /) and at least two
Come up with a Python program that accepts at least three values as input: an operator (e.g. +, -, *, /) and at least two numerical values. The program would include an if statement that performs computations on two or more numerical values based on the choice of operator. It should then display the result of the computation. I'm doing this in the Python IDLE shell and trying to execute the program on at least one test case.
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
Input operator and numerical values operator input... View full answer
Get step-by-step solutions from verified subject matter experts
