Answer Posted / hr@tgksolutions.com
When an anonymous function is needed temporarily, Lambda is usually used. Two methods exist for applying lambda functions:
Lambda function assignment to a variable
Using another function to wrap a Lambda function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you understand by monkey patching in python?
What are the types of inheritance in python?
Is python interpreted or compiled?
Explain python’s parameter-passing mechanism?
What do you understand by *args and **kwarg python?
How does python sort work?
Why and when do you use generators in python?
Which database is used in python?
You are having multiple memcache servers running python, in which one of the memcacher server fails, and it has your data, will it ever try to get key data from that one failed server?
How to compare two lists in python?
Can we use else block with for loop? Answer with one example.
Explain about the programming language python?
How to count the occurrences of a particular element in the list?
Which python course is best?
What is difference between yield and return?