Lambda functions

When will we use lambda functions
And when we should not go

I know interns of a single line only…
Please clarify the above questions

hey @Ramu-Rebal-2078248865781508 ,
sometimes there are very small tasks like calculating power of numbers , drawing patterns . As such tasks are not that complex hence can be easily done. So , if you are clear in there logic you can easily convert them into a lambda function and perform the task.
But sometimes you need to perform debugging on some functions to get proper implementation . That’s the point where lambda function shouldn’t be used.

Just simply understand that debugging lambda functions is really difficult and it generally implements a single task on single input.
Lambda functions can take any number of inputs but can only perform task on one expression.
So think and use lambda functions properly.

I hope this would have resolved your doubt .
Thank You and Happy learning :slightly_smiling_face: .