tuple1 = (1,2,3)
element = tuple1[0] #first element, same as list
# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
fruits = ("apple", "banana", "cherry")
print(fruits[1])
#Accessing Tuple
#with Indexing
Tuple1 = tuple("Softhunt")
print("
First element of Tuple: ")
print(Tuple1[1])
#Tuple unpacking
Tuple1 = ("Python", "Softhunt", "Tutorials")
#This line unpack
#values of Tuple1
a, b, c = Tuple1
print("
Values after unpacking: ")
print(a)
print(b)
print(c)
i = 5 + tup()[0]
tuple1 = (1,2,3)
element = tuple1[0] #first element, same as list
# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
fruits = ("apple", "banana", "cherry")
print(fruits[1])
#Accessing Tuple
#with Indexing
Tuple1 = tuple("Softhunt")
print("
First element of Tuple: ")
print(Tuple1[1])
#Tuple unpacking
Tuple1 = ("Python", "Softhunt", "Tutorials")
#This line unpack
#values of Tuple1
a, b, c = Tuple1
print("
Values after unpacking: ")
print(a)
print(b)
print(c)
i = 5 + tup()[0]