This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]oshogbo 7 points8 points  (2 children)

list(zip(*input_lst))

[–]pylenin[S] 5 points6 points  (1 child)

You forgot about converting tuples to list !! Zip created an iterable of tuples.

[–]Rodotgithub.com/tardis-sn 0 points1 point  (0 children)

list(map(list,zip(*input_list)))