Quiz on Python Higher Order Functions



1. What is a higher-order function in Python?
2. Which of the following is an example of a built-in higher-order function in Python?
3. What does the map() function do?
4. What is the purpose of the filter() function?
5. What does the reduce() function do?

Advertisements