Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

type of tuple in python

thistuple = ("apple","watermelon","cucumber","muskmelon)
print(type(thistuple))

#NOT a tuple
thistuple = ("apple")
print(type(thistuple))
 
PREVIOUS NEXT
Tagged: #type #tuple #python
ADD COMMENT
Topic
Name
8+2 =