Looping Through an Object with Python Enumerate