Nuttige ingebouwde functies voor tuples Flashcards

1
Q

my_tuple.count()

A

returns the number of times in the brackets

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

my_tuple.index()

A

returns the index number of the item in the tuple

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