How do I ignitalize a list please?

cmfinlay at SPAMmagnet.com.au cmfinlay at SPAMmagnet.com.au
Wed May 3 00:31:55 EDT 2000


How do I initialize a 'list' please?
I read that a list is the only array that can be modified in standard
python.

(to put it simply)

i = 1
mags[0] = 0
mags[1] = 1
print mags[i]

doesn't work.

Please reply here
or at cmfinlaySPAM at magnet.com.au



More information about the Python-list mailing list