結果 : check distinct values in python