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