Trying to flip columns and rows in an array in python. I can print them, but not sure how make them into a new array

后端 未结 0 1440
-上瘾入骨i
-上瘾入骨i 2021-01-07 02:21

Lets say I have a 9x9 2D array

testboard = [
    [7,8,0,4,0,0,1,2,0],
    [6,0,0,0,7,5,0,0,9],
    [0,0,0,6,0,1,0,7,8],
    [0,0,7,0,4,0,2,6,0],
    [0,0,1,0,         


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