title: How do I add text to every other item in a python list?
body: <p>I have a list like:</p>
  
  <pre><code>mylist = ["1", "2", "3", "4", "5"]
  </code></pre>
  
  <p>I want to add some text to every other item so it looks like this:</p>
  
  <pre><code>mylist = ["1a", "2", "3a", "4", "5a"]
  </code></pre>
  
  <p>I wrote this, which works fine for <em>every</em> item.  How do I make it apply only to <em>every other</em> item?</p>
  
  <pre><code>mylist2 = ["a" + item for item in mylist]
  </code></pre>