input: 
  def removeDuplicates(array):
      """Remove duplicates from the given array and return a new array with unique elements.
      >>> removeDuplicates([1, 2, 2, 3, 4, 4, 5])
      [1, 2, 3, 4, 5]
      >>> removeDuplicates(['a', 'b', 'b', 'c', 'c', 'c'])
      ['a', 'b', 'c']
      """
      finalArray = []
      for element in array: 
          if element not in finalArray: 
              finalArray.append(element)
      return finalArray
  
output:     finalArray = []
      for element in array: 
          if element not in finalArray: 
              finalArray.append(element)
      return finalArray