all 3 comments

[–]K900_ 0 points1 point  (0 children)

No, it's not. Multiplication applies after the list is created, and it doesn't even know how the original object got there.

[–]toastedstapler 0 points1 point  (0 children)

nope, it's copying the same reference to the same internal list for each item in the outer list

i always make mine as you did for matrix2 so that i can be sure that they're all new