fork download
  1. import itertools
  2. print(list(itertools.chain.from_iterable([[1,2,3],[4,5,6],[7,8,9]])))
Success #stdin #stdout 0.02s 6908KB
stdin
Standard input is empty
stdout
[1, 2, 3, 4, 5, 6, 7, 8, 9]