Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to access element in tuple python

tuple1 = (1,2,3)
element = tuple1[0] #first element, same as list
 
PREVIOUS NEXT
Tagged: #access #element #tuple #python
ADD COMMENT
Topic
Name
7+1 =