Schrijf een Python-programma dat een bedrag in centen vraagt aan de gebruiker. Het programma berekent hoeveel 2-euro, 1-euro, 50-cent, 20-cent, 10-cent, 5-cent, 2-cent en 1-cent munten je nodig hebt.
150
munt | 2 | 1 | 0.50 | 0.20 | 0.10 | 0.05 | 0.02 | 0.01 |
---------------------------------------------------------
aantal | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |