Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python try else

try:
    a=2*3
except TypeError:
    print("Exception raised")
else:
    print("Everything is ok.")
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
7+9 =