python_math_stat/practica/zadachka.py
2023-09-26 23:45:07 +03:00

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))