Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tuple methods in python

#Python has two built-in methods that you can use on tuples.

#Method	Description

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
Source by developers.google.com #
 
PREVIOUS NEXT
Tagged: #tuple #methods #python
ADD COMMENT
Topic
Name
9+5 =