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 |
Is set nesting implemented in python?
Explain try, raise, and finally?
What are python decorators? 8) What is the difference ...
What is python orm?
How to get the current time in python?
How to retrieve data from a table in mysql database through python code?
name few python modules for statistical, numerical and scientific computations?
How to run a Python CGI script in Wamp?
Should I learn c before python?
Do you know why lambda forms in python does not have statements?
What is meant by mutex in python?
What is python coded in?