How does lambda function differ from a normal function in python?



How does lambda function differ from a normal function in python?..

Answer / Abhishek Kumar Kashyap

A lambda function is a small, anonymous function that is defined using the 'lambda' keyword. It can only have one expression and is limited to a single line. Normal functions, on the other hand, can be multi-line and are named.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is monkey Patching in python?

1 Answers  


What is flask- wtf? Explain its features.

1 Answers  


Explain about python break, continue and pass?

1 Answers  


How do you debug a program in python? Is it possible to step through python code?

1 Answers  


What are the rules for local and global variables in Python?

1 Answers  


Explain static class variables in python?

1 Answers  


What is the difference between list and tuple?

1 Answers  


How can we make forms in python?

1 Answers  


What are the differences between c and python?

1 Answers  


what is the statement that can be used in python if the program requires no action but requires a statement syntactically?

1 Answers  


Which of the languages does Python resemble in its class syntax?

1 Answers  


Can I use Python instead of PHP?

1 Answers  


Categories