Completes worksheet 2.2.3 for Python Tutorial