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 difference between range () and xrange () in python 3?
Explain the five benefits of using python?
Is django an ide?
Explain how can you access a module written in python from c?
What is special about python?
explain the filter() function?
What is the difference between Xrange and range?
Should I learn c++ or python?
Why do we want to use break statement in while-loop?
What is the use of assertions in python?
Where will you use while rather than for?
What is the difference between remove() function and del statement?