Méthodes Python Tuple
Python a deux méthodes intégrées que vous pouvez utiliser sur les tuples.
Method | Description |
---|---|
count() | Returns the number of times a specified value occurs in a tuple |
index() | Searches the tuple for a specified value and returns the position of where it was found |
Apprenez-en plus sur les tuples dans notre tutoriel Python Tuples .