title: compare two lists of strings and remove duplicates python
body: <p>i Have two lists they come from two csv files, my aim is to merge the two lists and remove duplicates leaving the remaining entires in a third list. the lists can go up to 100+ entries.</p>
  
  <p>If the lists match i want to just write out a statement in a csv  saying all tests matched. </p>
  
  <p>Any help appreciated</p>
  
  <p>List 1</p>
  
  <pre><code>aSD22961EC04_
  aSD22961EB04_
  aSD22961EA04_
  aSD22961ED99_
  aSD22961CM04_
  aSD22961CN04_
  aSD22961CP04_
  aSD22961CL99_
  aSD22961CR99_
  aSD22961CO99_
  aSD22961CK99_
  aSD22961CQ99_
  </code></pre>
  
  <p>List 2</p>
  
  <pre><code>aSD22961EC04_
  aSD22961EB04_
  aSD22961EA04_
  aSD22961ED99_
  aSD22961CM04_
  aSD22961CP04_
  aSD22961CL99_
  aSD22961CR99_
  aSD22961CK99_
  aSD22961CQ99_
  </code></pre>