結果 : not equal logic in python