Share
Myntra Interview Question | Write a lambda function that multiplies two arguments
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Answers ( 4 )
mul_2 = (lambda x,y : x*y)
print(mul_2(2,4))
#output
8
multiply = (lambda x,y : x*y)
function=(lambda x,y:x*y)
ans=[1,2].map(function)
example=(lambda x,y:x*y)
example(2,3)