[Tutor] Dictionaries

Emile van Sebille emile at fenx.com
Sun Jun 17 16:34:36 CEST 2012

On 6/17/2012 7:14 AM Selby Rowley-Cannon said...
> Hello,
> I am having a problem with a small application I am writing. I have to
> have the user input the key, then have the program output the value
> associated with it. A way to inform the user that the key they entered
> is not in the dictionary or somefing would be nice also.
> Fank you for your help,
> -Selby

It's easiest for us to help you when you've posted a copy of your code 
and the resulting traceback information showing the error you're 
getting.  To be complete, include your platform and python version.

Then we can provide you the specific help you need to keep you moving 

You might also want to read the highly regarded article at


More information about the Tutor mailing list