What is filter python?



What is filter python?..

Answer / Diwakar Rai

Filter in Python is a higher-order function that takes another function (often called a predicate) as an argument and applies it to each item of the given iterable (list, tuple, dictionary keys, etc.). The filtered items are then returned as a new iterable or list.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What does float () do in python?

1 Answers  


Is there a way to remove the last object from a list?

0 Answers  


Explain raise keyword?

1 Answers  


What is __init__.py used for?

1 Answers  


What is kwargs in python?

1 Answers  


What is a frozen set in python?

1 Answers  


Write a program to check whether the object is of a class or its subclass.

1 Answers  


Is geany free?

1 Answers  


Is python a shell script?

1 Answers  


Who created the Python programming language?

1 Answers  


What is pydoc command?

1 Answers  


What is the best interpreter for python?

1 Answers  


Categories