Explain map and lambda function and it's syntax

Map ()
This function applies to a given function to each element such as list, tuple etc and returns an iterator
Syntax map(fun, iter)
lambda()
It is anonymous function.
A lambda function can take any number of arguments but can only have one expression
Syntax (arguments : expressions)

4 Likes

@kavinkumar300799

Correct Explaination, keep it up.

2 Likes

keep it up, Very nice.

2 Likes