Silly Question

Anton Muhin antonmuhin at
Tue Mar 11 14:28:39 CET 2003

Clint Bailey wrote:
> I've been studying Magnus Lie Hetland's book, Practical Python, for some 
> time now. For some time something has struck me. Is there such an object as 
> an ARRAY in the Python language. If there are, I can't find them. I was 
> wondering if they are titled as something else, perhaps, dictionaries, or 
> tupples. These are terms that I don't see in any other languages like C or 
> basic.
> I am a neophyte, I know this, so don't flame me too harshly, K?
  Python's list provides needed functionality:

l = [1, 2, 3]
print l[0]
l[0] = 5
print l[0], l[1], l[2]


More information about the Python-list mailing list