input: 
  def deleteDuplicates(num_list: List[int]) -> List[int]:
      """ Deletes all duplicates in a given list of numbers and returns the list with unique elements.
      >>> deleteDuplicates([1, 2, 2, 3, 4, 4, 5])
      [1, 2, 3, 4, 5]
      >>> deleteDuplicates([7, 7, 7, 7, 7])
      [7]
      >>> deleteDuplicates([])
      []
      """
  
output:     unique_elements = []
      for num in num_list:
          if num not in unique_elements:
              unique_elements.append(num)
      return unique_elements