Mega Code Archive

 
Categories / Python / Buildin Function
 

Filer with lambda function and range

print filter((lambda x: x > 0), range(-5, 5))