input: 
  def removeDuplicates(array):
      """
      Takes in a list of elements and returns a new list with all duplicates removed.
      This function uses the built-in set to detect and remove duplicates.
      
      >>> removeDuplicates([1, 2, 2, 3, 4, 3, 5])
      [1, 2, 3, 4, 5]
      >>> removeDuplicates(['a', 'b', 'b', 'c', 'd', 'c'])
      ['a', 'b', 'c', 'd']
      """
      return list(set(array))
  
output:     return list(set(array))