Python Programming - Exception Handling - Discussion
Discussion Forum : Exception Handling - General Questions (Q.No. 6)
6.
What does the
try
and except
blocks in Python exception handling allow you to do?
Answer: Option
Explanation:
The
try
block is used to enclose code that might raise an exception, and the except
block is used to handle and catch the raised exceptions.
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