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

Is set nesting implemented in python?

0 Answers  


Explain try, raise, and finally?

0 Answers  


What are python decorators? 8) What is the difference ...

0 Answers  


What is python orm?

0 Answers  


How to get the current time in python?

0 Answers  






How to retrieve data from a table in mysql database through python code?

0 Answers  


name few python modules for statistical, numerical and scientific computations?

0 Answers  


How to run a Python CGI script in Wamp?

0 Answers  


Should I learn c before python?

0 Answers  


Do you know why lambda forms in python does not have statements?

0 Answers  


What is meant by mutex in python?

0 Answers  


What is python coded in?

0 Answers  


Categories