Python_Institute
PCAP-31-03 · Question #37
Which of the following lambda function definitions are correct? (Select two answers)
The correct answer is A. lambda X : None B. lambda : 3,1415. See the full explanation below for the reasoning.
Question
Which of the following lambda function definitions are correct? (Select two answers)
Options
- Alambda X : None
- Blambda : 3,1415
- Clambda x : def fun(x): return x
- Dlambda lambda: lambda * lambda
How the community answered
(36 responses)- A78% (28)
- C17% (6)
- D6% (2)
Community Discussion
No community discussion yet for this question.