Question: What is the purpose of a lambda function in Python? To define a reusable block of code. To create global variables. To define anonymous functions.
What is the purpose of a lambda function in Python?
To define a reusable block of code.
To create global variables.
To define anonymous functions.
To encapsulate a class.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
