Solutions for the python challenge (www.pythonchallenge.com) Warning: Spoilers