Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 10
- if x > 5:
- raise Exception('x should not exceed 5. The value of x was: {}'.format(x))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement