Homework as I follow a textbook and attempt to learn Python