Answers for "how to copy an item in a 2d python list"

2

python copy a 2D list

y = [row[:] for row in x]
Posted by: Guest on September-28-2020

Code answers related to "how to copy an item in a 2d python list"

Python Answers by Framework

Browse Popular Code Answers by Language