Solved a Python puzzle.