python if statement throwing exception code example Example: throwing an exception python raise Exception("message")