Answer Posted / glibwaresoftsolutions
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
Why do we want to use break statement in while-loop?
Whenever python exists why does all the memory is not de-allocated / freed when python exits?
What are the differences between python 2.x and python 3.x?
What will be the output of ['!!welcome!!']*2?
What are the rules for legal python names?
What does this mean: *args, **kwargs? And why would we use it?
What is a function for flatten an irregular list of lists?
Tell us what is the usage of help() and dir() function in python?
What are python scripts used for?
What is final and super keyword difference between them?
How does xrange work in python?
What happens if we do not handle an error in the except block?
What are docstrings and comments?
What's a python script?
Are there maps in python?