input: from typing import List
  
  
  def deleteDuplicates(list: List[float]) -> List[float]:
      """ Removes all duplicates in a given list of numbers and returns the list with unique elements.
      >>> deleteDuplicates([1.0, 2.0, 3.0, 2.0, 4.0, 1.0])
      [1.0, 2.0, 3.0, 4.0]
      >>> deleteDuplicates([5.0, -2.5, 5.0, -2.5, 0.0])
      [5.0, -2.5, 0.0]
      """
output:     seen = set()
      unique_list = []
      for num in list:
          if num not in seen:
              seen.add(num)
              unique_list.append(num)
      return unique_list