def is_odd(n): lambda n:n % 2 == 1 L = list(filter(is_odd, range(1, 20))) print(L)
Standard input is empty
[]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!