結果 : check if there are duplicates in array python