0
An exception handle is not an error, is it?
In the code below, Solo Learn cosiders that two errors occours, however the first exception is handle so it's not a error. try: print(1/0) except ZeroDivisionError: raise ValueError
3 Antworten
+ 7
If you handle an exception it isn't an error.
+ 6
However, to handle an exception, you raised an error.
+ 1
if you don't handle the exception they may crash your program