Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
#---------------------------------------------------------------------------
#
# Pirates
#
# We need to find the number of pirates to talk to before we loop.
# Each pirate will refer us to another pirate, eventually we will find a
# pirate that directs us back to the original pirate, and we can exit.
#