Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Convert pennies into appropriate dollar amount without involving floating-point numbers
- while pennies >= 100:
- dollars += 1
- pennies -= 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement