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 |
What is raw string in python?
Explain how to overload constructors (or methods) in Python.
What does [::-1} do?
What is abnormal termination?
How do I run python on windows?
Why is python called python?
What are disadvantages of python?
What companies use python?
What are the 3 types of numbers in python?
What is overloading in python?
Why numpy is used in python?
Which is faster c++ or python?