list去重后不改变排序

sorted(set(s), key=s.index)