fork download
  1. g=lambda x:x[::2]+x[1::2]
  2. print g([0,1,2,3,4])
  3. print g([110, 22, 3330, 4444, 55555, 6])
Success #stdin #stdout 0.02s 7060KB
stdin
Standard input is empty
stdout
[0, 2, 4, 1, 3]
[110, 3330, 55555, 22, 4444, 6]