Python - Problem 6

Solved problem 6 in Python.