fork download
  1. L = [ [ 3, 4, 9, 2, 4, 6 ], \
  2. [ 4, 4, 4, 9, 3, 2 ], \
  3. [ 1, 4, 9, 8, 3, 7 ], \
  4. [ 6, 4, 2, 1, 3, 8 ], \
  5. [ 5, 6, 1, 9, 2, 4 ], \
  6. [ 8, 8, 8, 8, 8, 8 ] ]
  7.  
  8. for col in list(zip(*L)):
  9. print(col)
  10.  
Success #stdin #stdout 0.02s 9936KB
stdin
Standard input is empty
stdout
(3, 4, 1, 6, 5, 8)
(4, 4, 4, 4, 6, 8)
(9, 4, 9, 2, 1, 8)
(2, 9, 8, 1, 9, 8)
(4, 3, 3, 3, 2, 8)
(6, 2, 7, 8, 4, 8)