2 ms·
Of course in Python, you're encouraged to use exceptions as part of the normal program flow. (For example in duck typing, rather than checking whether your val
by ant6n 11y ago
Of course in Python, you're encouraged to use exceptions as part of the normal program flow.
(For example in duck typing, rather than checking whether your value is of a certain type, just assume it is, and deal with possible exceptions if it isn't)