以二维grid[][]为例:
grid = [[row[i] for row in grid] for i in range(len(grid[0]))]
效果如图:
for i in range(10): # fanzhuan grid[i].reverse()