How i can fill an half array random with number 1

后端 未结 0 1004
攒了一身酷
攒了一身酷 2020-12-31 18:12

we have an array p = [[none]*5]*6 and we want to fill it with number 1

something like this:

 [[1, none, none, 1, 1],[none, 1, none, 1, none],[none, 1,          


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