Q. What is the default return value of a function that doesn't have a return statement?

  • (A) 0
  • (B) null
  • (C) None
  • (D) undefined
πŸ’¬ Discuss
βœ… Correct Answer: (C) None
Explanation: In Python, a function that doesn't return anything explicitly returns `None`.
Explanation by: Mr. Dubey
In Python, a function that doesn't return anything explicitly returns `None`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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