The treachery of the whales - 2 (python)

Sign in to test your solution.