Python Programming - Exception Handling - Discussion

Discussion Forum : Exception Handling - General Questions (Q.No. 5)
5.
What is the purpose of the pass statement in exception handling?
To re-raise an exception
To ignore an exception and continue with the program execution
To define custom exception classes
To print the exception message
Answer: Option
Explanation:
The pass statement is used as a placeholder to ignore an exception and continue with the program execution when no action is required.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.