list = [1,1,3,4,6,3,7]
1.
for s in list: if list.count(s) >1: list.remove(s)
2.
list2=[] for s in list: if s not in list2: list2.append(s) print list2
3.
list2=[] for s in list: list2.append(s) print list2
2024-01-04 14:30:46
list = [1,1,3,4,6,3,7]
1.
for s in list: if list.count(s) >1: list.remove(s)
2.
list2=[] for s in list: if s not in list2: list2.append(s) print list2
3.
list2=[] for s in list: list2.append(s) print list2