title: Why I am getting AttributeError: __getitem__
body: <p>I am trying to convert a string to a list of characters.After that I will compare that list to another string and I want to remove common elements.But I am getting AttributeError: <strong>getitem</strong></p>
  
  <p>Please have a look.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>  def getAvailableLetters(lettersGuessed):
  
          result = []
          for word in string.ascii_lowercase:
              result.append[word]
  
          for guessedItem in lettersGuessed:
              result.remove(guessedItem)
          return result
  
     print getAvailableLetters(['e', 'i', 'k', 'p', 'r', 's'])
  </code></pre>
  
  <p>Here is the error:</p>
  
  <pre><code>Traceback (innermost last):
    File "D:\devs\source\PythonTest\test1.py", line 118, in ?
    File "D:\devs\source\PythonTest\test1.py", line 112, in getAvailableLetters
  AttributeError: __getitem__
  </code></pre>
  
  <p>Any help is appreciated.</p>
  
  <p>BTW line 112 is</p>
  
  <pre><code>result.append[word]
  </code></pre>