my coursework for Learn Python the Hard Way