input: def deleteDuplicates(list): 
      final_list = [] 
      for num in list: 
          if num not in final_list: 
              final_list.append(num) 
      return final_list
  
  """
  Deletes all duplicates in a given list of numbers and returns a new list with unique values.
  >>> deleteDuplicates([1, 2, 2, 3, 4, 4, 5])
  [1, 2, 3, 4, 5]
  >>> deleteDuplicates([10, 20, 30, 20, 10])
  [10, 20, 30]
  """
output:     final_list = [] 
      for num in list: 
          if num not in final_list: 
              final_list.append(num) 
      return final_list