What is a lambda statement? Provide an example.
Answer / seshadri d
A lambda is a function which can we give any arguments but it can write the single statement.
Example :- x = lambda i,j : i+j
print(x(4,5))
| Is This Answer Correct ? | 0 Yes | 0 No |
List some namespace in python?
What was your contribution to the above project?
How do I make a data frame out of a list?
Write a coding in find a largest among three numbers?
How does inheritance work in python?
Is there any equivalent to scanf() or sscanf()?
Name and explain the three magic methods of python that are used in the construction and initialization of custom objects?
What is dict when we have to use ?
Tell me what are the tools that help to find bugs or perform static analysis?
How do I copy a file?
What is map?
What does eval mean in python?