title: Remove duplicate values from list in tuple
body: <p>I have a list that containts a tuple, and that tuple contains another list with values:</p>
  
  <pre><code>list
  [('5c3b542e2fb59f2ab86aa81d', 
  ['hello', 'this', 'is', 'a', 'test', 'sample', 'this', 'is', 'duplicate'])]
  </code></pre>
  
  <p>As you can notice 'this and 'is' are already present in this list and I would like to remove them.</p>
  
  <p>So I want something like this:</p>
  
  <pre><code>new_list
  [('5c3b542e2fb59f2ab86aa81d', 
  ['hello', 'this', 'is', 'a', 'test', 'sample', 'duplicate'])]
  </code></pre>
  
  <p>Just to be clear, the List above contains multiple values, see my screenshot attached to this question.<a href="https://i.stack.imgur.com/9TyUF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9TyUF.png" alt="screenshot of list format"></a></p>
  
  <p>So far I tried the following method:</p>
  
  <pre><code>final_list = []
  
  for post in new_items:
      if post[1] not in final_list:
         _id = post[0]
         text = post[1]
         together = _id, text
         final_list.append(together)
  </code></pre>
  
  <p>I tried to loop through each item in the list and if it's not in the list, it would be added to the final_list. But so far this method doesn't work and gives me the exact same list back. </p>