arr = [['A', 'B', 'C', 'D', 'E'], [1, 2, 3, 4, 5], [6, 7, 8, 9, 10]] arr = list(zip(*arr))for a in arr: print(*a)
Standard input is empty
A 1 6 B 2 7 C 3 8 D 4 9 E 5 10
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!