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 |
Explain tkinter in python
What are some python projects for beginners?
Tell me what are generators in python?
How to avoid having class data shared among instances in python?
What is sockets? Explain.
Which is better r or python?
Is set iterable python?
What is a variable in python?
What is the optional statement used in a try except statement in Python?
Are there maps in python?
What is the necessity to use pass statement in python program?
How do you avoid cyclic imports without resorting to imports in functions?