A

Admin • 832.27K Points
Coach

Q. What is the output of `print(type(lambda x: x))`?

  • (A) <class 'function'>
  • (B) <class 'lambda'>
  • (C) <class 'method'>
  • (D) <class 'object'>
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Lambda functions are anonymous functions and are of type `<class 'function'>`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.