Get your own Python server Result Size: 625 x 565
x
 
def my_function(x):
  return list(dict.fromkeys(x))
mylist = my_function(["a", "b", "a", "c", "c"])
print(mylist)
['a', 'b', 'c']