A basic exercise to help learn the basics of Python
A change dispenser
Write a programme for an automatic change dispenser. It will choose the correct coins to dispense based on the amount required. It should work like this:
- Prompt the user for a number between 0 & 99 (this represents the change due.)
- Output the correct number of 50p, 20p, 10p, 5p, 2p or 1p coins to dispense.