Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 sicklesStep 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