0

Exception

Somebody explain to me what is exception why they using in the python

9th Apr 2022, 12:17 PM
PUSHPANJALI BADGUJAR
2 Answers
+ 6
I was going to TRY to go for a jog, EXCEPT it started raining, so I'll read a book instead. They use exeptions to handle program errors
9th Apr 2022, 12:35 PM
Slick
Slick - avatar
0
Exception is used to catch errors that may arise in the execution of your code. Exception is very useful specially in a situation where you require input from the user.
10th Apr 2022, 10:09 AM
Nick