I have a bunch of lists I want to append to a single list that is sort of the \"main\" list in a program I\'m trying to write. Is there a way to do this in one line of code
x.extend(y+z)
should do what you want
or
x += y+z
or even
x = x+y+z