Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = 4
- b = 0
- def DivisionZero(a,b):
- try:
- return a/b
- except:
- return 10
- print DivisionZero(4,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement