- 1

Where does exceptions get used?

These line of code are still troubling me, I'm learning the intermediate python3.

10th Dec 2021, 2:14 PM
BillTheCoder
BillTheCoder - avatar
1 Réponse
+ 3
It goes like this: Exception is an error that didnt let you complete a line of a script but it doesnt break a script completely. It informs you that your code is not ready for certain outcome and you should improve it. To get rid of it you can go with try - except blocks, but you shouldnt just pass the exception there.
10th Dec 2021, 2:21 PM
Herr Rozwel
Herr Rozwel - avatar