Mega Code Archive

 
Categories / Python Tutorial / List
 

Changing Lists

x = [1, 1, 1] x[1] = 2 print x