Python_Institute
PCAP-31-03 · Question #52
Which of the following lambda definitions are correct? (Select two answers)
The correct answer is B. lambda x, y: x//y - x%y D. lambda x, y: (x, y). See the full explanation below for the reasoning.
Question
Which of the following lambda definitions are correct? (Select two answers)
Options
- Alanbda x, y; return x\y - x%y
- Blambda x, y: x//y - x%y
- Clambda (x, y = x\y x%y
- Dlambda x, y: (x, y)
How the community answered
(40 responses)- A10% (4)
- B85% (34)
- C5% (2)
Community Discussion
No community discussion yet for this question.