MCQs > IT & Programming > Python > Declaring a function is simply the preferred way of describing an object and binding it to a name. Which of the following statements bind an 'anonymous' function to a name?

Python MCQs

Declaring a function is simply the preferred way of describing an object and binding it to a name. Which of the following statements bind an "anonymous" function to a name?



Answer

Correct Answer: add1 = lambda x,y: x+y

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it