input: Write a function to delete all duplicates in a given list of numbers and return the list without duplicates. If the input list is empty, return an empty list.
  def deleteDuplicates(list): 
      final_list = [] 
      for num in list: 
          if num not in final_list: 
              final_list.append(num) 
      return final_list
  assert deleteDuplicates([1, 2, 3, 3, 4, 5, 5, 6])==[1, 2, 3, 4, 5, 6]
  assert deleteDuplicates([1, 1, 1, 1, 1])==[1]
  assert deleteDuplicates([1, 2, 2, 3, 3, 4])==[1, 2, 3, 4]
  assert deleteDuplicates([])==[]
output: def deleteDuplicates(list): 
      final_list = [] 
      for num in list: 
          if num not in final_list: 
              final_list.append(num) 
      return final_list