Dostęp do krotek w Pythonie

#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)
Outrageous Ostrich