結果 : python throw exception if condition