fork download
  1. array = [[10,20,30,40],[50,60,70,80],[5,6,7,8],[100,200,300,400],[9,15,25,30]]
  2. result = [i for i in array if sum(i) < 100]
  3. print(result)
Success #stdin #stdout 0.02s 28384KB
stdin
Standard input is empty
stdout
[[5, 6, 7, 8], [9, 15, 25, 30]]