Python Problem 8

Solved Problem 8 in Python.