What is a lambda statement? Provide an example.



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

Post New Answer

More Python Interview Questions

What is raw string in python?

0 Answers  


Explain how to overload constructors (or methods) in Python.

1 Answers  


What does [::-1} do?

0 Answers  


What is abnormal termination?

0 Answers  


How do I run python on windows?

0 Answers  






Why is python called python?

0 Answers  


What are disadvantages of python?

0 Answers  


What companies use python?

0 Answers  


What are the 3 types of numbers in python?

0 Answers  


What is overloading in python?

0 Answers  


Why numpy is used in python?

0 Answers  


Which is faster c++ or python?

0 Answers  


Categories