Which statement is True about lambda functions?
They must have a name
They can have multiple expressions
They are used to define small anonymous functions
They are slower than normal functions and should be avoided
Which statement is True about lambda functions?
They must have a name
They can have multiple expressions
They are used to define small anonymous functions
They are slower than normal functions and should be avoided
Top comments (1)
True: They are used to define small anonymous functions
Exactly. Lambda functions are designed for short, throwaway functionality without naming the function.