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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started