Python Programming - Exception Handling - Discussion
Discussion Forum : Exception Handling - General Questions (Q.No. 23)
23.
What is the purpose of the
try
, except
, else
, and finally
blocks collectively?
Answer: Option
Explanation:
The combination of these blocks provides comprehensive exception handling in Python, allowing for handling exceptions, executing code when no exception occurs, and always executing code.
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