Python Programming - Standard Libraries - Discussion

Discussion Forum : Standard Libraries - General Questions (Q.No. 38)
38.
Which method is used to find the index of the first occurrence of a value in a list?
list.find()
list.index()
list.search()
list.position()
Answer: Option
Explanation:
The index() method is used to find the index of the first occurrence of a value in a list in Python.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.