+ 1
I divide a number by zero
i got zerodivisionerror. but why do i need to handle the error. is it because we dont want the error being outputted on the screen. i mean is it because i want something else as the output not the error. no stupid comments plis
3 Respuestas
+ 8
You have to handle it if you don't want your code to be terminated. Errors end the execution of your program.
+ 1
gotcha.... thank u kuba...
0
As kuba said u have to handle these(know) errors by user inputs or use try cache blocks for unexpected errors.