input: 
  from typing import List
  
  def deleteDuplicates(list: List[float]) -> List[float]:
      """ Deletes all duplicates in a given list of numbers.
      >>> deleteDuplicates([1.0, 2.0, 3.0, 2.0, 4.0, 5.0, 1.0])
      [1.0, 2.0, 3.0, 4.0, 5.0]
      >>> deleteDuplicates([10.0, 10.0, 20.0, 20.0, 30.0])
      [10.0, 20.0, 30.0]
      """
      final_list = []
      for num in list:
          if num not in final_list:
              final_list.append(num)
      return final_list
  
output:     final_list = []
      for num in list:
          if num not in final_list:
              final_list.append(num)
      return final_list