+ 1

So once a tuple is created with some values can it be extended?

10th Jul 2016, 8:22 AM
Monika Jain
Monika Jain - avatar
2 Réponses
+ 1
No, it can't be changed at all.
12th Jul 2016, 1:36 AM
Chris
Chris - avatar
0
How about going around the problem like this... a bit unorthodox maybe! tup1=1,2,3 tup2=4,5,6 tup1+=tup2 # would concatenate tup1 & tup2 in new 'extended' tup1 :)
2nd Mar 2017, 2:32 AM
M. S.
M. S. - avatar