title: Comparing two list, returning the results to display
body: <p>I am trying to create compare two lists of MD5hashes. I need to identify what hashes compare and return the hashes that compare. I am not having much luck in doing so any help would be amazing.</p>
  
  <p>This is what I have at the minute:</p>
  
  <pre><code>BadHashes = []
  for element in filesavedin:
      if element in hasheddic:
          BadHashes.append(element)
          print BadHashes
  return BadHashes
  </code></pre>