0

I'm learning PYTHON now, and i see the raising exception, where can i use it?

31st Jul 2022, 12:41 PM
Mohamed MECHBAL
Mohamed MECHBAL - avatar
2 odpowiedzi
+ 3
Which exception? Please link your code. Exceptions will be explained in the Python course.
31st Jul 2022, 12:48 PM
Lisa
Lisa - avatar
+ 2
Raising exceptions are useful if you want your program to behave differently when encountering an error during execution, in my opinion. Or when your program has to handle user input and you want to clarify the error message for the average user.
1st Aug 2022, 5:12 AM
Andrés Sebastián López
Andrés Sebastián López - avatar