Computer Science, asked by vidhe8118, 10 months ago

Suggest a cleaner way to handle Python exceptions?

Answers

Answered by Anonymous
0

Raise allows you to throw an exception at any time. assert enables you to verify if a certain condition is met and throw an exception if it isn't. In the try clause, all statements are executed until an exception is encountered. except is used to catch and handle the exception(s) that are encountered in the try clause.

Answered by Anonymous
0

Explanation:

heya mate

option A is the answer

Similar questions