title: Is there a better way to use strip() on a list of strings? - python
body: <p>For now i've been trying to perform strip() on a list of strings and i did this:</p>
  
  <pre><code>i = 0
  for j in alist:
      alist[i] = j.strip()
      i+=1
  </code></pre>
  
  <p>Is there a better way of doing that?</p>