python
>>> arr
[[2, 3, 603], [1, 1, 286], [4, 4, 882]]
>>> [list(x) for x in list(zip(*arr))]
[[2, 1, 4], [3, 1, 4], [603, 286, 882]]
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
>>> arr
[[2, 3, 603], [1, 1, 286], [4, 4, 882]]
>>> [list(x) for x in list(zip(*arr))]
[[2, 1, 4], [3, 1, 4], [603, 286, 882]]
Register as a new user and use Qiita more conveniently
Go to list of users who liked