title: How do I find all unique words(no duplicates)?
body: <p>I would like to find all the unique words that are in both files. I am able to list all the words from each file but it gives me duplicates. I also would like to sort them by alphabetical order. How do I go about doing this?</p>
  
  <pre><code>#!/usr/bin/python3
  
  #First file
  file = raw_input("Please enter the name of the first file: ")
  
  store = open(file)
  
  new = store.read()
  
  #Second file
  file2 = raw_input("Please enter the name of the second file: ")
  
  store2 = open(file2)
  
  new2 = store2.read()
  
  for line in new.split():
      if line in new2:
              print line
  </code></pre>