input: from typing import List
  
  def removeDuplicates(array: List[float]) -> List[float]:
      """
      Removes duplicates from the given list of floats.
      >>> removeDuplicates([1.0, 2.0, 2.0, 3.0])
      [1.0, 2.0, 3.0]
      >>> removeDuplicates([1.0, 1.0, 1.0])
      [1.0]
      """
output:     seen = set()
      result = []
      for num in array:
          if num not in seen:
              seen.add(num)
              result.append(num)
      return result