Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedplease 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

Explain the four types of selling premises.

Answered: 1 week ago