what happens inside?

FunAt Work karamheenkuriyaar at gmail.com
Thu Jun 23 01:34:09 EDT 2011


Do the same thing with an interconversion of tuple and list and you will be off to the older way:
a=(1,2,3)
b=list(a)
b[0]=11
print a
print b

Output:
(1, 2, 3)
[11, 2, 3]



More information about the Python-list mailing list