リストの中の重複した要素を一つにして新しいリストを作る - Qiita

["a","a","a",2,3,3,2,2]を['a',2,3]とする方法。def remove_duplicates(x): list_a = [] for index,i in enumer…