HOME > ホーム > ホームpython で 配列 から 重複 を取り除く方法 2018年8月15日 2019年11月24日 Twitter Share Pocket Hatena LINE コピーする t = ["aa", "c", "v", "cc", "aa", "f", "v", "b", "c"] s = [] for i in t: if i not in s: s.append(i) print(s) #['aa', 'c', 'v', 'cc', 'f', 'b'] TweetPocketShare on Tumblr Twitter Share Pocket Hatena LINE コピーする -ホーム