Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if change == 0:
- print("")
- print("Collect change below:")
- if quarter_count >= 1:
- print("Quarters: " + str(quarter_count))
- if dime_count >= 1:
- print("Dimes: " + str(dime_count))
- if nickel_count >=1:
- print("Nickels: " + str(nickel_count))
- if penny_count >=1:
- print("Pennies: " + str(penny_count))
- if quarter_count == 0 and dime_count == 0 and nickel_count == 0 and penny_count == 0:
- print("No change.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement