β back to unit
Easy
# intro
Split the Pirate Gold
A pirate crew found a chest of gold coins and wants to split it evenly among the crew β but only in whole coins (no chopping coins in half!). π΄ββ οΈ
You're given the total coins, then the number of pirates. Print how many whole coins each pirate gets.
For example, 10 coins and 3 pirates β print 3.
π‘ need a hint?
intro-fair-share.pyπ given lines are locked β write your code in between
loading...