fork download
  1.  
  2.  
  3. L = list(filter(lambda n:n % 2 == 1, range(1, 20)))
  4.  
  5. print(L)
  6.  
  7. # your code goes here
  8. # your code goes here
Success #stdin #stdout 0.09s 14104KB
stdin
Standard input is empty
stdout
[1, 3, 5, 7, 9, 11, 13, 15, 17, 19]