Slice list of lists without numpy
<p>In Python, how could I slice my list of lists and get a sub list of lists without numpy?</p>

<p>For example, get a list of lists from A[1][1] to A[2][2] and store it in B:</p>

<pre><code>A = [[1,  2,  3,  4 ],
     [11, 12, 13, 14],
     [21, 22, 23, 24],
     [31, 32, 33, 34]]

B = [[12, 13],
     [22, 23]]
</code></pre>

<p>You may also perform nested list slicing using <a href="https://docs.python.org/2/library/functions.html#map" rel="nofollow"><code>map()</code></a> function as:</p>

<pre><code>B = map(lambda x: x[1:3], A[1:3])
# Value of B: [[12, 13], [22, 23]]
</code></pre>

<p>where <code>A</code> is the list mentioned in the question.</p>

python list slice