How to make a reverse for loop in python?
gagsl-py2 at yahoo.com.ar
Sun Sep 21 02:06:01 CEST 2008
En Sat, 20 Sep 2008 20:27:41 -0300, Alex Snast <asnast at gmail.com> escribió:
> Another quick question please, is the List data structure just a
> dynamic array? If so how can you use static size array, linked list,
> AVL trees etcetera.
Yes, lists are implemented as dynamic arrays (but you shouldn't care about
it). "Textbook" linked lists are good for a CS course, but useless in most
usual circumstances (think of memory fragmentation). There are AVL trees
implemented in Python, but not built in.
Read the Python Tutorial specially this section
You may be interested in the collections module too
More information about the Python-list