How to sort 2D list by columns?

前端 未结 0 2084
天命终不由人
天命终不由人 2021-02-20 07:01

I would like to take a 2D list like this:

initial_table = [
    [1, 2, 3],
    [5, 4, 3],
    [2, 3, 4]
]

and sort each column vertically to get:

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