Advertisement
Guest User

Untitled

a guest
May 25th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. if change == 0:
  2. print("")
  3. print("Collect change below:")
  4. if quarter_count >= 1:
  5. print("Quarters: " + str(quarter_count))
  6. if dime_count >= 1:
  7. print("Dimes: " + str(dime_count))
  8. if nickel_count >=1:
  9. print("Nickels: " + str(nickel_count))
  10. if penny_count >=1:
  11. print("Pennies: " + str(penny_count))
  12. if quarter_count == 0 and dime_count == 0 and nickel_count == 0 and penny_count == 0:
  13. print("No change.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement