KnowledgeBoat Logo

Computer Science

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.

Python Functions

13 Likes

Answer

None object

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

Answered By

8 Likes


Related Questions