tuple methods Flashcards

(2 cards)

1
Q

returns the number of times a specified value occurs in a tuple

A

.count()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Searches the tuple for a specified value and returns the position of where it was found

A

.index()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly