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.
It will take less than 1 minute to register for lifetime. Bonus Tip - We don't send OTP to your email id Make Sure to use your own email id for free books and giveaways
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)