Python -Tupelmethoden
Python verfügt über zwei integrierte Methoden, die Sie für Tupel verwenden können.
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 |
Erfahren Sie mehr über Tupel in unserem Python-Tupel-Tutorial .