What is the main use of exceptions in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the main use of exceptions in python?

4th Jun 2019, 2:59 PM
Dahdud
1 Answer
0
When program is not sure what to do, it assumes raising an error is the safest choice.
4th Jun 2019, 4:00 PM
Seb TheS
Seb TheS - avatar