What is the output of print((lambda a, b: a * b)(2, 3)) in Python?
print((lambda a, b: a * b)(2, 3))
Correct answer
B. 6
5 views
B. 6
5 views
A lambda can take several arguments.
Asked in: Python Interview Advanced Python
https://docs.python.org/3/library/index.htmlNot sure why the answer is B? Ask here and get an explanation.