結果 : python if condition raise exception