Question: Exercise 4 : Calculator Part 3 In python In this exercise, you'll be using the functions you made from exercises 3 and 4 to program
Exercise : Calculator Part In python
In this exercise, you'll be using the functions you made from
exercises and to program a fourfunction calculator. This
calculator should have the following features:
addnum num subnum num multiplynum
num and dividenum num where num and num
may be given as floats or ints
the ability to continue performing user calculations until the
user types "exit".
user can select which operation they would like to perform
either "add", "subtract", "multiply", "divide"
user can indicate whether they would like to use the
previous value as the first number in the next calculation
yes or no If the user says "yes", the result of the
previous calculation should become num for the next
calculation.
displays all calculations to decimal places.
Note: NEVER round the calculations. Display the result
rounded to two decimal places, but always save the exact,
unrounded value.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
