Q. Python supports the creation of anonymous functions at runtime, using a construct called

  • (A) lambda
  • (B) pi
  • (C) anonymous
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) lambda
Explanation: python supports the creation of anonymous functions (i.e. functions that are not bound to a name) at runtime, using a construct called lambda. lambda functions are restricted to a single expression. they can be used wherever normal functions can be used.

Explanation by: Mr. Dubey
python supports the creation of anonymous functions (i.e. functions that are not bound to a name) at runtime, using a construct called lambda. lambda functions are restricted to a single expression. they can be used wherever normal functions can be used.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
538
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate