Hello- This must be simple, but for the life of me I can't figure out how to delete an entry from a dictionary. For example,
meals = {}
meals['breakfast'] = 'slimfast'
meals['lunch'] = 'slimfast'
meals['dinner'] = 'something sensible'
How do I eliminate 'lunch' from the dictionary so that I only have
'breakfast' and 'dinner'?
Thanks!
--greg
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
