Python Tuple Methods Flashcards
1
Q
count()
A
Returns the number of times a specified value occurs in a tuple
2
Q
index()
A
Searches the tuple for a specified value and returns the position of where it was found
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