I\'m trying to help someone through a practice problem on How To Think Like a Computer Scientist. I\'ve read other people having the same issue, but none of the answers are help