In Python, every function returns a value. If no return statement is present, it returns _______ by default.
- 0
- FALSE
- None
- TRUE
In Python, if no return statement is present in a function, it returns 'None' by default. 'None' is a special value representing the absence of a value.
Loading...
Related Quiz
- A ____ is a data structure that stores elements in a linear sequence but allows additions and removals only at the start.
- For an infinite loop using the while construct, the typical condition used is while _______:
- What would be the output of the following Python code? print(type([]))
- Which of the following is a modulus operator in Python?
- How can you execute a Python file from within another Python file?