Question: Write a Python program that gets two numbers, a and b from the user. These values can be decimal numbers. Your program should then
Write a Python program that gets two numbers, a and b from the user. These values can be decimal numbers. Your program should then evaluate and display various arithmetic operations on a and b as shown in the sample screen output. Sample output (User input shown in bold for easy identification): Enter a: 4.5 Enter b: 2 a+b 6.5 a-b 2.5 a.b: 9.0 a/b: 2.25 a mod b : 0.5 a power b: 20.25
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
