My 2D array tuples wont copy over to another 2D array python

前端 未结 0 1126
余生分开走
余生分开走 2020-11-28 13:06

I\'m trying to copy over a 2D array of tuples without the last tuple included. But it keeps manipulating all of the elements. \'\'\'

crop = [[(0,0,0)]*3]*3

t         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题