fork download
  1. lst = [[[1, 2, 1],[1, 1, 3]], [[1, 5, 1], [5, 9, 10]], [[ 100, 25, 1], [ 6, 9, 23]]]
  2.  
  3. a = [y[1] for x in lst for y in x]
  4. print(a)
  5.  
  6.  
Success #stdin #stdout 0.04s 9308KB
stdin
Standard input is empty
stdout
[2, 1, 5, 9, 25, 9]