How to splice a list that is spliced in python?
<p>I have a list of let's say [[1,2,3,4], [1,2,3,4], [1,2,3,4], [1,2,3,4]] and its name is l. I want to do l[:2][:2] and have that return [[1,2], [1,2]]. So it splices the list and then splices that list and returns that. Is it even possible to do this in one line in python?</p>
