Q. What is the output of lambda x, y: x + y (2, 3)?

A
5
B
6
C
[2, 3]
D
Error
Solution:

lambda x, y: x + y (2, 3) defines and calls a function returning 2 + 3 = 5.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!