結果 : remove duplicates from array python using for loop