slice lists

jbperez808 at yahoo.com jbperez808 at yahoo.com
Mon Sep 19 22:27:15 EDT 2005


> Lists are one-dimensional. They can only take one slice, not two.

Ah ok, I thought 

  l[3:4,5:8]

would return

  [3,5,6,7]




More information about the Python-list mailing list