Computer Science, asked by NarayaniSagar2643, 1 year ago

How to pass argument to an Exception in Python?

Answers

Answered by yalok2191
0

An exception can have an argument, which is a value that gives additional information about the problem. The contents of the argument vary from exception to exception. You capture an exception's argument by supplying a variable in the except clause as follows

Similar questions