Code from the Code Academy tutorial on Python