how to tuple python code example
Example 1: tuples
#!/usr/bin/python
tup1 = (12, 34.56);
tup2 = ('abc', 'xyz');
# Following action is not valid for tuples
# tup1[0] = 100;
# So let's create a new tuple as follows
tup3 = tup1 + tup2;
print tup3;
Example 2: pyhton tuple
#It's like a list, but unchangeable
tup = ("var1","var2","var3")
tup = (1,2,3)
#Error