Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 39)
39.
Which of the following methods is used to find the index of the first occurrence of a specific element in a tuple?
tuple.find(element)
tuple.search(element)
tuple.index(element)
tuple.locate(element)
Answer: Option
Explanation:
The index() method is used to find the index of the first occurrence of a specific element in a tuple.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.