Example:
t1=(1,2,3,4)
t2=(5,6,7,8)
print(len(t1))
#Prints: 4
concatenating two tuples
t1=t1+t2
print(t1)
#Prints:(1,2,3,4,5,6,7,8)
print(len(t1))
#Prints: 8
repeatation of tuple
t1=t1*3
print(t1)
#Prints: (1,2,3,4,1,2,3,4,1,2,3,4)
len(t1)
#Prints: 12
Here, in the below code snippet we can see the length of the tuple been changed. Hence, the memory declared for the tuple initially is changed. Please explain this behavior of tuples.