Question: What is a lambda function ?
- any function that makes use of scientific or mathematical constants, often represented by Greek letters in academic writing
- a function that get executed when decorators are used
- any function whose definition is contained within five lines of code or fewer
- a small, anonymous function that can take any number of arguments but has only expression to evaluate
Answer: The correct answer of the above question is Option D:a small, anonymous function that can take any number of arguments but has only expression to evaluate