Python Tuple count() Method
Returns the number of times a specified value occurs in a tuple.
Syntax
Python
Copy Code
tuple.count(value)
Parameters
Parameter | Description |
---|---|
value |
Required. The value to search for in the Tuple |
Returns the number of times a specified value occurs in a tuple.
tuple.count(value)
Parameter | Description |
---|---|
value |
Required. The value to search for in the Tuple |