πŸ“Š Python
Q. Which of the following keywords is used to create an anonymous function in Python?
  • (A) def
  • (B) lambda
  • (C) func
  • (D) inline
πŸ’¬ Discuss
βœ… Correct Answer: (B) lambda

Explanation: The `lambda` keyword is used to create small, anonymous functions in Python.

Explanation by: Rati Dubey
The `lambda` keyword is used to create small, anonymous functions in Python.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
36
Total Visits
πŸ“½οΈ
4 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
89%
Success Rate