input: from typing import List
  
  
  def removeDuplicates(array: List[any]) -> List[any]:
      """ This function takes in a list of elements and returns a new list with all 
      duplicate elements removed. The order of elements should be preserved from 
      the input list.
      >>> removeDuplicates([1, 2, 2, 3])
      [1, 2, 3]
      >>> removeDuplicates(['a', 'b', 'a', 'c', 'b'])
      ['a', 'b', 'c']
      """
output:     
      seen = set()
      result = []
      for item in array:
          if item not in seen:
              seen.add(item)
              result.append(item)
      return result
  