DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
divide by zero error python exception handling
try: print 1/0 except ZeroDivisionError: print "You can't divide by zero!"
Source by en.wikibooks.org #
PREVIOUS
NEXT
Tagged:
#divide
#error
#python
#exception
#handling
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit