Python - creating unknown number of array inside of an array and rearranging

前端 未结 0 1635
谎友^
谎友^ 2021-02-03 12:38

I have an unknown value of x. Say I have the following array:

array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]

Say x = 2, I want 2 arrays arranged

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