title: How to iterate the first index value twice before going to the next index position?
body: <p>I'm trying to make a for loop that iterates each index twice before going to the next one, for example if I have the following list:</p>
  <pre><code>l = [1,2,3]
  </code></pre>
  <p>I would like to iterate it if it was in this way:</p>
  <pre><code>l = [1,1,2,2,3,3]
  </code></pre>
  <p>could someone help me with this problem please?</p>