A

Admin • 833K Points
Coach

Q. Which keyword is used to define an anonymous function in Python?

  • (A) def
  • (B) lambda
  • (C) fun
  • (D) anon
  • Correct Answer - Option(B)
  • Views: 26
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`lambda` defines small anonymous functions in Python.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.