結果 : how to check if array has duplicate values python