Harlin Seritt enlightened us with:
> I have some code here:
>
> groups = {'IRISH' : 'green', 'AMERICAN' : 'blue'}
>
> I want to add another key: 'ITALIAN' : 'orange'
>
> How do I append this to 'groups'?

groups['ITALIAN'] = 'orange'

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to