PE Problem 30 Python

PE Problem 30 Python Solution
Runs a little over 1 second, could likely be shortened by tightening the range on the first loop