forked from Yesen/python_math_stat
6 lines
157 B
Python
6 lines
157 B
Python
a = input().split()
|
|
def del_dubl(a):
|
|
seen = set()
|
|
seen_add = seen.add
|
|
return [x for x in a if not (x in seen or seen_add(x))]
|
|
print (del_dubl(a)) |