Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 37)
37.
What is the purpose of the tuple.count() method?
Counts the number of elements in the tuple.
Counts the occurrences of a specific element in the tuple.
Counts the number of unique elements in the tuple.
Counts the elements with even values in the tuple.
Answer: Option
Explanation:
The count() method is used to count the 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.