Write a python program that acts like a pez dispenser. It should print out the contents of the dispenser at the start of the program to show that the dispenser is empty and then prompt the user for...

Write a python program that acts like a pez dispenser. It should print out the contents of the dispenser at the start of the program to show that the dispenser is empty and then prompt the user for exactly 10 pez colors or flavors. The program should then display the contents of the pez dispenser, showing that it is full, and then dispense the candy in the correct LIFO manner. Finally, the program should display the contents of the dispenser, showing that it is empty.
Apr 01, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here