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