0
l=[1,3,5,7,3,3,2] output [1,3,5,7,2] write phyton code using list
pyton
2 Answers
+ 5
a = [6,5,5,4,2,3,1,3] # [6, 5, 4, 2, 3, 1]
print(set(a))
print(sorted(set(a), key=a.index))
+ 2
Similar problem:
https://www.sololearn.com/Discuss/1553612/?ref=app