πŸ“Š Problem Solving and Python Programming
Q. Does Lambda contains return statements?
  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (B) false

Explanation: lambda definition does not include a return statement. it always contains an expression which is returned. also note that we can put a lambda definition anywhere a function is expected. we don’t have to assign it to a variable at all.


Explanation by: Mr. Dubey
lambda definition does not include a return statement. it always contains an expression which is returned. also note that we can put a lambda definition anywhere a function is expected. we don’t have to assign it to a variable at all.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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