newbie question

John Machin sjmachin at
Thu Mar 23 04:23:12 CET 2006

On 23/03/2006 1:53 PM, Kevin F wrote:
> what does it mean when there are [0] or [1] after a variable?
> e.g. print 'Message %s\n%s\n' % (num, data[0][1])

Here's the section in the Python Tutorial that should answer your question:

You may like to start at the *beginning* of the Tutorial :-)

... or you might like to ask another question, stating your experience 
if any with other languages, what you want to do with Python, and asking 
for general advice on how to learn Python.


More information about the Python-list mailing list