Python Programming - Loops - Discussion

Discussion Forum : Loops - General Questions (Q.No. 29)
29.
In Python, what does the enumerate function return when used with a for loop?
Index and value of each element in a sequence
Values of a sequence
Reversed order of elements in a sequence
Total number of iterations
Answer: Option
Explanation:
The enumerate function returns the index and value of each element in a sequence when used with a for loop.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.