title: Python word length count from a text file
body: <p>I am working on a project.  I have been able to do everything asked for as far as total line count, separated and sorted, and total letter count. The issue I am having is listing the length of each individual word.  Example: the: 3, it: 2, and etc...  I am not trying to find how many times it appears in the text file.</p>
  
  <pre><code>i=open("words.txt").read().splitlines()
  
  f= len(open("words.txt").readlines())
  
  t= sorted (i)
  
  e= "\n".join(t)
  
  g= sum(len(e) for e in (i))
  </code></pre>
  
  <p>Any Help on how to put the word length for each word is greatly appreciated.</p>