Respuesta :

The enumerate function adds a counter to an iterable. So for each element in cursor, a tuple is produced with; the for loop binds that to row number and row. Also, to simplify a commonly used looping idiom

I hope this helps!!