Under the Assignments directory, create a new directory called a3_last_first where last is your last/family name and first is your preferred first name. Use all lowercase letters.

Vending Machine
Learning Objective
Write a Python program that uses arithmetic operators and branching statements.
Assignment Description
Write a program that calculates the amount of change to be returned from a vending machine using Harry Potter currency. In the wizarding world of Harry Potter, the currency system is not based off dollars and cents, but instead 3 different coins: knuts, sickles, and galleons. The conversion values for these coins in knuts are as follows:
⦁ 1 knut = 1 knut
⦁ 1 sickle = 29 knuts
⦁ 1 galleon = 493 knuts
The knut is similar to a cent in U.S. currency, and the sickle is similar to a U.S. quarter. One dollar equals 4 quarters or 100 cents. In Harry Potter currency, one galleon equals 17 sickles or 493 knuts.
The vending machine dispenses 4 options: Assortment of candy for 11 sickles and 7 knuts, Butterbeer for 2 sickles, Daily Prophet for 5 knuts, and Quill for 6 sickles.
The vending machine accepts galleons, sickles, and knuts for payment.
Steps
⦁ In PyCharm , open your existing ITP115 project.
⦁ Under the Assignments directory, create a new directory called a3_last_first where last is your last/family name and first is your preferred first name. Use all lowercase letters.
⦁ In the directory, create a new Python file called assignment3.py.
⦁ At the top of the file, put comments in the following format and replace the name, email, and section with your actual information:

Last Completed Projects

topic title academic level Writer delivered
© 2020 EssayQuoll.com. All Rights Reserved. | Disclaimer: For assistance purposes only. These custom papers should be used with proper reference.