Simultaneously inserting and extending a list?
<p>Is there a better way of simultaneously inserting and extending a list? Here is an ugly example of how I'm currently doing it.  (lets say I want to insert '2.4' and '2.6' after the '2' element):</p>

<pre><code>&gt;&gt;&gt; a = ['1', '2', '3', '4']
&gt;&gt;&gt; b = a[:a.index('2')+1] + ['2.4', '2.6'] + a[a.index('2'):]
&gt;&gt;&gt; b
&lt;&lt;&lt; ['1', '2', '2.4', '2.6', '3', '4']
</code></pre>
