Date: 13 Jan 2012 20:17
Number of posts: 4
RSS: New posts
I assume by "having indices" you mean we can access contained items, using a non negative index.
A (probably partial) list is: tuples, strings, and even ranges.
Dictionaries won't qualify by that definition, even though we can access items contained in dictionaries
using the corresponding key.
User defined classes could also work, for example a one dimensional version of the Matrix class.