Computer Science, asked by purveshKolhe, 5 hours ago

What are lambdas of python, explain briefly.

No spamming, no plagarisms​

Answers

Answered by aparnaocr
2

Answer:

Explanation:

in python a lambda function is something written in just a single line.

It is an anonymous function means a function with no name.

lambda function can take any number of arguements but with a single expression.

the syntax used for alambda function is:

lambda argument(s):expression

hope it helps...

Answered by hariprasadsahu1979
1

Explanation:

What are lambda functions in Python? In Python, an anonymous function is a function that is defined without a name. While normal functions are defined using the def keyword in Python, anonymous functions are defined using the lambda keyword. Hence, anonymous functions are also called lambda functions.

Similar questions