On Fri, Oct 10, 2008 at 10:59 PM, Kent Johnson <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 10, 2008 at 10:45 PM, S Potter <[EMAIL PROTECTED]> wrote:
><snip>
>> poem ={ ['roses','are red'],
>>               ['violets','are blue'],
>>               ['sugar','are sweet']
>>               ['so','are you'] }

Another thing to note - the way you have it written here, { } is the
dictionary notation, and dictionaries are unordered, and require
immutable keys (lists are mutable).

HTH,
Wayne
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to