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']