Python Tuple-methoden
Python heeft twee ingebouwde methoden die u op tupels kunt gebruiken.
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 |
Leer meer over tuples in onze Python Tuples Tutorial .