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 |
How will you verify different flags at once?
How to check if string A is substring of string B?
What is meshgrid in python?
Explain Python's data types.
What is frozen set in python?
What is the output of this code?
How to comment multiple lines in python?
Is python slower than java?
What is the best tutorial for python?
Explain about default database with python?
What does ** (double star/asterisk) and * (star/asterisk) do for parameters?
Explain different ways to create an empty numpy array in python?