Python Programming - Lists - Discussion

Discussion Forum : Lists - General Questions (Q.No. 4)
4.
What does the index method of a list return in Python?
The first occurrence of the specified element.
The last occurrence of the specified element.
The index of the specified element.
The count of occurrences of the specified element.
Answer: Option
Explanation:
The index method returns the index of the first occurrence of the specified element in a list.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.