input: Write a python function to remove duplicates from a list.
  assert removeDuplicates([1, 2, 2, 3, 3, 4]) == [1, 2, 3, 4]
  assert removeDuplicates([5, 5, 5, 6, 7, 7, 8]) == [5, 6, 7, 8]
  assert removeDuplicates([10, 20, 20, 30, 40, 40, 50]) == [10, 20, 30, 40, 50]
output: def removeDuplicates(lst):
      return list(dict.fromkeys(lst))