Hello,<br>Maybe a bit confusing topic title, probably the example will do.<br><br>I have a tuple:<br>t = (&#39;a&#39;, &#39;b&#39;, &#39;c&#39;, &#39;d&#39;)<br>And need the following output, list or tuple, doesn&#39;t matter:<br>
(0, &#39;a&#39;, 1, &#39;b&#39;, 2, &#39;c&#39;, 3, &#39;d&#39;)<br><br>I tried with zip(), but get a list of tuples, which isn&#39;t the desired output. Anyone with a solution or push in the right direction?<br><br>Cheers,<br>
TImo<br>