fork download
  1. coords = [(14, 9, 7), (11, 1, 20), (1, 1, 7), (13, 9, 1), (9, 13, 4), (20, 1, 4), (17, 6, 8), (14, 10, 1), (14, 2, 17), (7, 20, 7)]
  2.  
  3. combin = zip(*coords)
  4. print(list(combin))
Success #stdin #stdout 0.01s 9992KB
stdin
Standard input is empty
stdout
[(14, 11, 1, 13, 9, 20, 17, 14, 14, 7), (9, 1, 1, 9, 13, 1, 6, 10, 2, 20), (7, 20, 7, 1, 4, 4, 8, 1, 17, 7)]