結果 : remove duplicates from list python using while loop