> groups = {'IRISH' : 'green', 'AMERICAN' : 'blue'}
> 
> I want to add another key: 'ITALIAN' : 'orange'
> 
> How do I append this to 'groups'?

groups['ITALIAN'] = 'orange'

as described at

http://docs.python.org/tut/node7.html#SECTION007500000000000000000

-tkc



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to