Explore topic-wise MCQs in Python.

This section includes 1 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.

1.

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
Answer» D. An exception is thrown without the return statement