Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. x = 10
  2. if x > 5:
  3.     raise Exception('x should not exceed 5. The value of x was: {}'.format(x))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement