How to access for loop index in Python

The built-in Python enumerate function is a better way to access the for loop index. How to access for loop