Python Data Structures Week 3 Assignment 7.2