fork download
  1. a = ['z', 'a', 'q', 'v', 'e', 'w', 'w', 'w']
  2. b = sorted(a[i] for i in range(0, len(a), 2))
  3. print(b)
Success #stdin #stdout 0.02s 9132KB
stdin
Standard input is empty
stdout
['e', 'q', 'w', 'z']