You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1 Python/labs/06 Make Change
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Lab 11: Make Change
1
+
Lab 06: Make Change
2
2
3
3
Let's convert a dollar amount into a number of coins. The input will be the total amount, the output will be the number of quarters, dimes, nickles, and pennies.
4
4
Always break the total into the highest coin value first, resulting in the fewest amount of coins. For this, you'll have to use floor division //,
0 commit comments