Why Python does *SLICING* the way it does??
Greg Ewing
greg at cosc.canterbury.ac.nz
Thu Apr 21 21:29:35 EDT 2005
Antoon Pardon wrote:
>
> This is nonsens. table[i] = j, just associates value j with key i.
> That is the same independend from whether the keys can start from
> 0 or some other value.
Also, everyone, please keep in mind that you always have
the option of using a *dictionary*, in which case your
indices can start wherever you want.
You can't slice them, true, but you can't have
everything. :-)
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list