I\'m trying to do Part C of the first problem set from the MIT "Introduction to Computer Science and Programming in Python", which can be found here.