Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create tupple in python

#Tuples allow duplicate values:
  
thistuple = ("apple", "banana", "cherry", "apple", "cherry")
print(thistuple)

#Output : ('apple', 'banana', 'cherry', 'apple', 'cherry')
 
PREVIOUS NEXT
Tagged: #create #tupple #python
ADD COMMENT
Topic
Name
8+3 =