> ... but I'm not sure what you mean by "... with a for loop"? > > -[]z. > > Maybe this? : ----- x = [1,2,3] y = [10,20,30] for z in y: x.append(z)
print x ----- But list.extend should be right way. Cheers
-- http://mail.python.org/mailman/listinfo/python-list