結果 : python throw error if condition