input: Write a function to remove duplicates from a list and return the list with unique elements in the same order as they appear. If the list is empty, return an empty list.
  
  def remove_duplicates(my_list):
      return list(dict.fromkeys(my_list))
  
  assert remove_duplicates([1, 2, 3, 4, 3, 2, 1]) == [1, 2, 3, 4]
  assert remove_duplicates([1, 1, 2, 2, 3, 3]) == [1, 2, 3]
  assert remove_duplicates([]) == []
output: def remove_duplicates(my_list):
      return list(dict.fromkeys(my_list))