Please what is raising an exception? Kinda lost in it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please what is raising an exception? Kinda lost in it

2nd Sep 2020, 7:29 PM
Sarpong Kwabena Lord
Sarpong Kwabena Lord - avatar
4 Answers
+ 5
when you want to take a piece of candy out of the bag and it's empty you want to do sth. and it is not possible.
2nd Sep 2020, 7:46 PM
Oma Falk
Oma Falk - avatar
+ 1
You reposted the question again ,show some patience ,and link the code in description using insert option that is causing an exception with language name in tag
2nd Sep 2020, 7:31 PM
Abhay
Abhay - avatar
+ 1
Throwing a run time error.
2nd Sep 2020, 9:46 PM
Sonic
Sonic - avatar
0
Exception is an error cause a program to terminate abnormally, and that you can catch and handled in proper way to correct it by the program... For ex: in a/b if b==0 : raise ArithmaticException(": devide by zero") else: print( a/b)
2nd Sep 2020, 7:38 PM
Jayakrishna 🇮🇳