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 the use of isupper keyword in python?
What does do in c?
What is the use of dir() function?
What is pip and pip freeze commands will do?
What is the output of the following code and why?
Is python open source? If so, why it is called so?
Explain the database connection in python flask?
Write a program to draw a board ex: 3by3 or 4by4 etc?
What is a docstring in python?
Which software is best for python programming?
What is the use of join() for a string rather than list or tuple method?
Explain what is namespace in python?