title: Length of string within a list of strings python
body: <p>I'm iterating over a list that I'm trying to extract data from that looks like this: </p>
  
  <pre><code>for i in lst: 
      print(i.split('-'))
  
  
  ... output
  
  ['a', 'doa', 'a', 'h5t']
  ['a', 'rne']
  ['a', 'ece']
  ['a', 'ece']
  ['a', 'tnt', 'c', 'doa', 'd', 'nvc', 'a', 'nnm', 'a', 'h5t']
  ['a', 'tps']
  </code></pre>
  
  <p>My goal is to extract all the strings within each list that 3 characters long.  If I do </p>
  
  <pre><code>len(i.split('-')) 
  </code></pre>
  
  <p>in which case the above would look like: </p>
  
  <pre><code>4
  2
  2
  2
  10
  2
  </code></pre>
  
  <p>in the loop than I just get the length of each unique string in the list. My question is how can I get a count of the characters in each string in each list?</p>
  
  <p>EDIT:</p>
  
  <p>The output should look like:</p>
  
  <pre><code>['doa', 'h5t']
  ['rne']
  ['ece']
  ['ece']
  ['tnt', 'doa', 'nvc', 'nnm', 'h5t']
  ['tps']
  </code></pre>