How to replace elements in list of lists in given range?

后端 未结 0 1726
死守一世寂寞
死守一世寂寞 2021-01-14 04:55

Let\'s say I\'ve defined list of lists, e.g.:

a = [[1,2,1,1,1],[1,1,3,4,1],[2,1,2,5,1],[1,1,2,2,3],[1,1,1,1,1]]

What I want to do is to creat

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