title: Comparing True value in list to another list
body: <pre><code>lst = [1, 3, 2, 1, 3, True, False, True, &quot;apple&quot;, &quot;banana&quot;, &quot;mango&quot;, &quot;apple&quot;]
  
  lst2 = []
  for i in range(0, len(lst)):
      if lst[i] not in lst2:
          lst2.append(lst[i])
  print(lst2)
  </code></pre>
  <p>Above code is to remove duplicate values. But it is also removing <code>True</code> value. Anyone Explain me why it's not storing <code>True</code> value and show me correct code.</p>
  <p>Desired Output:</p>
  <pre><code>[1,3,2, True, False, “apple”, “banana”, “mango”]
  </code></pre>
  <p>Output I'm getting:</p>
  <pre><code>[1,3,2, False, “apple”, “banana”, “mango”]
  </code></pre>
  <p><strong>Can anyone help me with this and explain me reason behind it. Please it would be really helpful.</strong></p>