Why similar values are affected to the matrix

后端 未结 0 1992
长情又很酷
长情又很酷 2021-02-04 20:23

I initialized a matrix in python as in the following line.

matrix=[ [ 0 for i in range(len(lists[0])) ] for j in range(len(lists) ) ]

Where lists is a

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