My code is following:
d = [int(d) for d in input().split()]l = []
c = 1
for i in range(len(d)):if d[i] not in l:l.append(d[i])c += 1for i in range(len(l)):print(l[i], end=" ")
Evaluation:
Input : 1 1 9 5 2 1 4 1 1 4 0 6 1 4 3 3 2 2 0 Output : 1 9 5 2 4 0 6 3
Status : Passed after ignoring Presentation Error