Python Tuple Metodes
Python het twee ingeboude metodes wat jy op tuples kan gebruik.
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 |
Kom meer te wete oor tuples in ons Python Tuples-tutoriaal .