Python Programming - Conditional Statements - Discussion
Discussion Forum : Conditional Statements - General Questions (Q.No. 20)
20.
Which of the following statements is used to raise a custom exception?
Answer: Option
Explanation:
The
raise
statement is used to raise a custom exception in Python. You can use it to trigger a specific exception with a custom error message.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers