WINDOWS USERS????

Sheila King usenet at thinkspot.net
Mon Nov 26 01:46:38 EST 2001


[posted and mailed]

On Mon, 26 Nov 2001 06:18:08 GMT, "stephen cox" <stephen at stephencox.org>
wrote in comp.lang.python in article
<A8lM7.2615$Xk4.376059 at typhoon.jacksonville.mediaone.net>:

: If so, I have a simple question:
:isn't a list just an array?

Not exactly.

Arrays usually require that all entries are of the same type. There is
no such restriction on lists in Python.

You can use Python lists, however, to serve the purpose of an array from
other programming languages, in many situations.


--
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org/




More information about the Python-list mailing list