On 03/28/2014 10:32 AM, Alan Gauld wrote:
No, standard slices on the first element will give you sublists of the
first row. Python doesn't have any concept of that second dimension, it
only sees a list of items. The fact those items are themselves lists is
purely incidental to the interpreter.
HTH
Thanks, Alan. It was very helpful. I see it now:
l[:] is just a copy of the list itself. Then, l[:][k] == l[k].
Thanks again.
Jose
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor