πŸ“Š Python
Q. What is the output of: `print(type(lambda x: x))`?
  • (A) <class 'function'>
  • (B) <class 'lambda'>
  • (C) <class 'method'>
  • (D) <class 'object'>
πŸ’¬ Discuss
βœ… Correct Answer: (A) <class 'function'>

Explanation: Lambdas are anonymous functions, and their type is `<class 'function'>`.

Explanation by: Mr. Dubey
Lambdas are anonymous functions, and their type is `<class 'function'>`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
64
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate