Mega Code Archive

 
Categories / Python / List
 

List value assignment and index reference

L1 = [2,3,4] L2 = L1 L1[0] = 24 print L2