Answers for "how to create tupple in python"

0

how to create tupple in python

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

#Output : ('apple', 'banana', 'cherry', 'apple', 'cherry')
Posted by: Guest on March-01-2022

Code answers related to "how to create tupple in python"

Python Answers by Framework

Browse Popular Code Answers by Language