Nuttige ingebouwde functies voor tuples Flashcards
1
Q
my_tuple.count()
A
returns the number of times in the brackets
2
Q
my_tuple.index()
A
returns the index number of the item in the tuple
my_tuple.count()
returns the number of times in the brackets
my_tuple.index()
returns the index number of the item in the tuple