Advertisement
Draqun

pa_zero_division_exception

Nov 12th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. #!/usr/bin/env python3
  2.  
  3.  
  4. def div(a: int, b: int) -> float:
  5.     return a/b
  6.  
  7.  
  8. print(div(7, 0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement