Question: 1. Programming Exercise #3 (How Much Insurance) The program should consist of a main function, which asks the user to enter the replacement cost of
1. Programming Exercise #3 (How Much Insurance) The program should consist of a main function, which asks the user to enter the replacement cost of a building, a function called compute_insurance that calculates and displays the minimum amount of insurance that is needed.
a. Name your Python file Your initials + Insurance.py
b. The program should use global constants for the insurance rate
c. The main function should call the compute_insurance function with building replacement cost as an argument.
d. Money amounts should be formatted as currency.
e. All output should be displayed with descriptive text, such as, Amount of insurance is $XXX.XX
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
