ZeroDivisionError Demo : Buildin Error : Language Basics PYTHON examples


PYTHON examples » Language Basics » Buildin Error »

 

ZeroDivisionError Demo


ZeroDivisionError Demo

try1/0
except ZeroDivisionError: 
   print "caught divide-by-0 attempt"


           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Language Basics
» Buildin Error