+ 2
Why should I use raise statement instead of print to mention the errors ? In Paython.
I can't understand Why should I use raise statement instead of print to mention the errors ? In Paython.
1 Odpowiedź
+ 2
Simply put, raise halts the entire program while print just prints. You can check more from here --> https://docs.python.org/3/tutorial/errors.html