employer cover photo
employer logo
employer logo

AMERGINT Technologies Inc

Is this your company?

AMERGINT Technologies Inc interview question

In Python, what is a lambda function and how do you use it?

Interview Answer

Anonymous

Aug 28, 2021

A lambda function is a piece of syntactic sugar that lets you declare an anonymous function pretty much anywhere you might need one. They are limited though, and it is difficult to fit much complicated logic into them so I only use them when I can't easily eliminate the need.