python if error occurs when itterating code example Example: throwing an exception python raise Exception("message")