Python Tuples Methods
- Previous Page Python Dictionary Methods
- Next Page Python Collection Methods
Python has two built-in methods that can be used on tuples.
Method | Description |
---|---|
count() | Return the number of times a specified value appears in the tuple. |
index() | Search for a specified value in the tuple and return the position where it is found. |
In our Python Tuples Tutorial Learn more about tuples in Chinese.
- Previous Page Python Dictionary Methods
- Next Page Python Collection Methods