What is the purpose of the enumerate function in a for loop?
To create an enumerated list
To generate a sequence of numbers
To iterate over two lists simultaneously
To access both the index and the value of elements in an iterable
This question is part of this quiz :
Python for loop quiz