What is the output of: `print(type(lambda: None))`?

Python Professional Hard

Python Professional — Hard

What is the output of: `print(type(lambda: None))`?

Key points

  • Lambda functions are a type of function in Python.
  • The type() function returns the type of an object.
  • In this case, the object is a lambda function that returns None.

Ready to go further?

Related questions