KnowledgeBoat Logo

Computer Science

Exceptions are caught using try block.

Python Exception Handling

1 Like

Answer

True

Reason — Exceptions are caught using the try block because it encapsulates code that might raise exceptions. If any code within the try block causes an error or exception, the program will transfer control to the corresponding except block to handle the exceptional situation.

Answered By

1 Like


Related Questions