Q. What is the output of the following code?
Code:
x = lambda a : a + 10 print(x(5))
β
Correct Answer: (C)
15
Explanation: lambdas are concise functions and therefore, the result = 5 + 10 = 15