Examveda
Examveda

What is a higher-order function in the context of decorators?

A. A function that returns a function

B. A function that takes a function as an argument

C. A function that only contains decorators

D. A function with multiple return statements

Answer: Option B

Solution(By Examveda Team)

Higher-order functions accept functions as arguments and/or return functions as results.

This Question Belongs to Python Program >> Decorators In Depth

Join The Discussion

Related Questions on Decorators in Depth