How can I change rows into columns in Python in a nested list?

前端 未结 0 1971
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 03:34

[[30, 40, 20, 50], [60, 20, 40, 10], [50, 30, 70, 60], [30, 40, 40, 20]] A user input like this and I want to change the rows into columns as such:

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