πŸ“Š Python
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

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