Advertisement
johnpentyrch

mathoperators1

Feb 19th, 2022
952
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. coins=int(input('How many £1 coins are there to share '))
  2. people=int(input('How many people to shar with '))
  3. coinseach=coins//people
  4. coinsleft=coins % people
  5. print('There are ',coinseach,' coins each\ncoins left', coinsleft)
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement