Fixed indentation, added enumerate.

The if statement looked like it needed to be indented inside of the for loop.

Moved from range(len(list)) item = list[index] -> index, item in
enumerate(list). It's more pythonic.