結果 : test if tuple is distinct in python