Python Programming - Lists - Discussion
Discussion Forum : Lists - General Questions (Q.No. 56)
56.
What does the
list.index(42)
method do in Python?
Answer: Option
Explanation:
The
index()
method in Python lists is used to find the index of the first occurrence of a specific element.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers