Python: Remove items in list of list by index
<p>Here i want remove items in list of list by index.
Input is </p>

<pre><code>li  = [[1,2,3,4],[5,6,7,8]]
</code></pre>

<p>Excepted output is</p>

<pre><code>[[1,3,4],[5,7,8]]
</code></pre>

<p>What I'm tried is,</p>

<pre><code>print [x.pop(1) for x in li]
</code></pre>