Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python tuple methods

count(x) : Returns the number of times 'x' occurs in a tuple
index(x) : Searches the tuple for 'x' and returns the position of where it was first found
Source by developers.google.com #
 
PREVIOUS NEXT
Tagged: #python #tuple #methods
ADD COMMENT
Topic
Name
8+4 =