xxxxxxxxxx
# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
fruits = ("apple", "banana", "cherry")
print(fruits[1])
xxxxxxxxxx
#Accessing Tuple
#with Indexing
Tuple1 = tuple("Softhunt")
print("\nFirst element of Tuple: ")
print(Tuple1[1])
#Tuple unpacking
Tuple1 = ("Python", "Softhunt", "Tutorials")
#This line unpack
#values of Tuple1
a, b, c = Tuple1
print("\nValues after unpacking: ")
print(a)
print(b)
print(c)