R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is lambda in Python?

  • (A) A loop
  • (B) An inline function
  • (C) A class
  • (D) A module
  • Correct Answer - Option(B)
  • Views: 14
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma
`lambda` is used to create anonymous functions (also called inline functions) in Python.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.