Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 24)
24.
Which of the following methods is used to find the total number of occurrences of a specific element in a tuple?
tuple.total(element)
tuple.count(element)
tuple.find(element)
tuple.occurrences(element)
Answer: Option
Explanation:
The count() method is used to find the total number of occurrences 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.