Question: Please show the python code used. I understand that the floor divide is necessary, but the variable passing and how to get the correct amount

Please show the python code used. I understand that the floor divide is necessary, but the variable passing and how to get the correct amount of change is driving me nuts!
Thank you for taking the time to read and answer this question.
Lab 9: Currency Calculator Functions and Exceptions Objectives: Gain more experience with functions, parameters, and return values Gain experience with exceptions . Problem Statement: You are to design and create a program that takes in a price from the user (as a decimal without a dollar sign) and determine the most efficient way to meet that price in bills and coins. Your program should use the following bills: 100, 50, 20, 10, 5, and 1; it should also use the following coins: 25, 10, 5, 1. It can use some beyond these (such as a half dollar or two dollar bill) but it must have at least these currencies. Your program should also be able to handle the instance in which a user enters in an invalid price gracefully without crashing. Specifications: Your program should use the following four functions: calcBills calculates the number of each bill the price will require . displayBills displays how many of each bills the price will require (should not contain any math) . calcCoins calculates the number of each coin the price will require displayCoins - displays how many of each coin the price will require (should not contain any math)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
