How to pass argument to an Exception in Python?
Answers
Answered by
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