How to return a list of strings that is a certain length?
<p>What I'm trying to do is create a program that returns a list of strings that are a certain length. I have a program made but I feel that it's extremely off</p>

<pre><code>def lett(lst,n):
res = []
for a in range(1,len(lst)):
               if a == n
                   res = lst[a]
return res
</code></pre>

<p>what I want is to take the list and return all the words that are the length of n so if I were to do lett(["boo","hello","maybe","yes","nope"], ) it would return ['boo','yes']</p>

<p>thanks!</p>
