πŸ“Š Problem Solving and Python Programming
Q. If a function doesn’t have a return statement, which of the following does the function return?
  • (A) int
  • (B) null
  • (C) none
  • (D) an exception is thrown without the return statement
πŸ’¬ Discuss
βœ… Correct Answer: (C) none

Explanation: a function can exist without a return statement and returns none if the function doesn’t have a return statement.


Explanation by: Mr. Dubey
a function can exist without a return statement and returns none if the function doesn’t have a return statement.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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