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 |
How to get class name of an instance in Python?
How to clone or copy a list in python?
Why is python faster than r?
What is a flask?
Is intel faster python?
What’s the difference between a list and a dictionary?
Tell us something about garbage collector in python?
What is setup py in python?
How do you append to a file in python?
Does dataset api support python and r?
What are the 3 types of loops?
Are tuples mutable?