eLearning
Tutorials
Programs
Interview Questions
Technical Questions
C Language
C++
JAVA
HTML & CSS
PHP
AJAX
J2EE
SQL
jQuery
Go back to Home
Our Placements
Tutorials
Programs
Interview Questions
Technical Questions
Live Training
Our Placements
Associated Colleges
Our Recruiters
Back
C Language
C++
JAVA
HTML & CSS
PHP
AJAX
J2EE
SQL
jQuery
Programs
Home
Programs
Python
Exception Handling
Programs - Python -
Exception Handling
Program:
try
:
print(
10
/
0
)
except
ZeroDivisionError
as
msg:
print(
"exception explanation is:"
,msg)
Output:
exception explanation is: division by zero