python copy a 2D list

45

python copy a 2D list -

y = [row[:] for row in x]

Comments

Submit
0 Comments