Lambda Function in Python MCQs Exercise II


Ques 1 Lambda Function


What is the output of the following Python Code?


fun=lambda x:return x*x
print(fun(5))

  a) 5
  b) 25
  c) Error
  d) None of these


c is the correct option