input: Write a function to remove duplicate entries from a list and return the list with all duplicates removed. If the input list is empty, return an empty list.
  assert removeDuplicates([1, 2, 2, 3, 3, 4]) == [1, 2, 3, 4]
  assert removeDuplicates([]) == []
  assert removeDuplicates([1, 1, 1, 1]) == [1]
  assert removeDuplicates([1, 2, 3, 4]) == [1, 2, 3, 4]
  assert removeDuplicates([4, 3, 2, 1, 2, 3, 4]) == [4, 3, 2, 1]
output: def removeDuplicates(lst):
      return list(dict.fromkeys(lst))