翻转二维数组

arr = [[1,2,3], [4,5,6], [7,8,9], [10,11,12]]spa

print [[j[i] for j in arr] for i in range(len(arr[0]))]co

相关文章
相关标签/搜索