Toggle navigation
Mr. Code's Wild Ride
Mr. Code
Curriculum
Showcase
Python
Math
Games
Typing
Sign in
Coin Machine
Loops
Step 1
Step 2
Step 3
Step 3:
On each iteration of a loop, subtract the maximum number of cents possible, in quantities of 25, 10, 5, and 1 corresponding to different coins. Print the name of the coin that was used.
Last step
Next section
×
Sign in