CBSE Class 12 Computer Science Question 9 of 103

Working with Functions — Question 1

Back to all questions
1
Question

Question 1

If return statement is not used inside the function, the function will return:

  1. 0
  2. None object
  3. an arbitrary integer
  4. Error! Functions in Python must have a return statement.
Answer

None object

Reason — The default return value for a function that does not return any value explicitly is None.