First acceptable revision of the first three lessons of the Python course.