input: 
  def deleteDuplicates(numbers: list) -> list:
      """ Deletes all duplicates in a given list of numbers.
      
      >>> deleteDuplicates([1, 2, 3, 4, 4, 5, 5, 5, 6])
      [1, 2, 3, 4, 5, 6]
      
      >>> deleteDuplicates([7, 7, 7, 7, 7])
      [7]
      """
      final_list = []
      for num in numbers:
          if num not in final_list:
              final_list.append(num)
      return final_list
  
output:     final_list = []
      for num in numbers:
          if num not in final_list:
              final_list.append(num)
      return final_list