I am working on a script where I have a list of tuples of type ('1','2','3','4') . eg:.
list = [('1','2','3','4'), ('2','3','4','5'), ('3','4','5','6'), ('4','5','6','7')]
Now I need to add '1234' , '2345' , '3456' and '4567' respectively at the end of each tuple. eg:
list = [('1','2','3','4','1234'), ('2','3','4','5','2345'), ('3','4','5','6','3456'), ('4','5','6','7','4567')]
Is it possible?
python tuples
Shahzad Feb 06 '11 at 12:50 2011-02-06 12:50
source share