'python rearrange nested list [duplicate]

given

[[1,2,3], [4,5,6], [7,8,9]]

I'd like to get

[[1,4,7], [2,5,8], [3,6,9]]

So I'd like to group nth item into nth resulting list.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source