Lists into lists

Jeff Cohen jaif at
Mon Aug 20 16:34:23 CEST 2001

I'm just learning python, so sorry if this is obvious but I didn't see it in
the book or a few tutorials I found.

I want to insert a copy of a list into a list like so:

>> Magic step goes here

Now, I did this with


However, when I manipulate y, I end up changing x as well.



Which isn't exactly it either.

Any help there?

More information about the Python-list mailing list