list of tuples with dynamic change in position

sajuptpm sajuptpm at
Mon Sep 6 16:54:23 CEST 2010

I have a list of tuples l = [(('s','a'),(5,9)), (('u','w'),(9,2)),
some functions using this list and fetch data using index l[0][1], l[1]
I need to change position of each values in the list and that dont
affect fuctions which are using this list.
I must have to use list of tuples.
Have any way to do it using list of tuples.

More information about the Python-list mailing list