Skip to content
Sign UpLog In

Weekly-3

IMayBeMe
IMayBeMe
6 followers
Published on Jul 20, 2021
  • #python
  • #weekly3

My solution to the 5 pirates problem. It accounts for both versions of the puzzle and allows users to input the number of pirates as well as the amount of gold. Uses an iterative approach with a somewhat recursive logic.

Total Tips
0
Loading comments...