6 lines
116 B
Python
6 lines
116 B
Python
def uniq(ls: list) -> list:
|
|
r = []
|
|
for i in ls:
|
|
if i not in r:
|
|
r.append(i)
|
|
return r
|