title: Python - Iterating through list of lists
body: <p>I have a list like;</p>
  
  <pre><code>list=[['1,2,3'], ['1,2'], ['1,2,3'], [1.0], [5.0]] 
  </code></pre>
  
  <p>I would like to iterate through it to obtain the index value for each element, something like this;</p>
  
  <pre><code>orig_list=[1,2,3,1,2,1,2,3,1,5]
  index_list=[1,1,1,2,2,3,3,3,4,5]
  </code></pre>
  
  <p>(with indexes starting at 1)</p>