Python Programming - Exception Handling - Discussion

Discussion Forum : Exception Handling - General Questions (Q.No. 15)
15.
Which of the following statements is true about the raise statement?
It is used to terminate the program
It can only raise built-in exceptions
It is used to catch exceptions
It is used to explicitly raise an exception
Answer: Option
Explanation:
The raise statement is used to explicitly raise an exception in Python.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.