Python: elegant way of creating a list of tuples?
<pre><code>&gt;&gt;&gt; a=["a"]*4
&gt;&gt;&gt; a
['a', 'a', 'a', 'a']
&gt;&gt;&gt; b=range(4)
&gt;&gt;&gt; b
[0, 1, 2, 3]
&gt;&gt;&gt; c = [range(4,8), range(9,13), range(14,18), range(19,23)]
&gt;&gt;&gt; c
[[4, 5, 6, 7], [9, 10, 11, 12], [14, 15, 16, 17], [19, 20, 21, 22]]
&gt;&gt;&gt;
&gt;&gt;&gt; result = map(lambda x,y:[x,y],a,b)
&gt;&gt;&gt; map(lambda x,y:x.extend(y),result,c)
&gt;&gt;&gt; result = map(tuple, result)
&gt;&gt;&gt; result     # desired output: 
[('a', 0, 4, 5, 6, 7), ('a', 1, 9, 10, 11, 12), ('a', 2, 14, 15, 16, 17), ('a', 3, 19, 20, 21, 22)]
&gt;&gt;&gt;
&gt;&gt;&gt; try_test = zip(a,b,c)
&gt;&gt;&gt; try_test # NOT DESIRED: leaves me with the list within the tuples
[('a', 0, [4, 5, 6, 7]), ('a', 1, [9, 10, 11, 12]), ('a', 2, [14, 15, 16, 17]), ('a', 3, [19, 20, 21, 22])]
</code></pre>

<p>I was wondering whether anyone has a more succinct way to do the "result"?</p>
