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

2

python copy a 2D list

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

Python Answers by Framework

Browse Popular Code Answers by Language