Question: please wirte a python program Problem 2 Filename: currency.py In the currency of Wizarding Money, there are 17 Sickles to a Galleon. Prompt the user

please wirte a python program Problem 2 Filename: currency.py In the currencyplease wirte a python program

Problem 2 Filename: currency.py In the currency of Wizarding Money, there are 17 Sickles to a Galleon. Prompt the user to enter an amount of Galleons as a float, and convert it to Galleons and Sickles. For full credit under the documentation category, write two test cases in a comment at the top of your file, like this but with your own examples. Do this before you start coding -- that way you know if your program works! # Input: 1.5 # Output: 1 Galleon, 8 # Input: 2.75 # Output: 2 Galleons, 13 Sickles Here's an example of what happens when I run my program (your text/formatting doesn't need to look exactly like ours though): How much money does Hermione have? 2.75 That's 2 galleons and 13 sickles

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!