[Tutor] Dictionaries

Alan Gauld alan.gauld at btinternet.com
Sun Jun 17 18:29:07 CEST 2012

On 17/06/12 15:14, Selby Rowley-Cannon wrote:
>      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.

So what's the problem?

This sounds a wee bit like a homework assignment and we have a policy of 
not doing those for you...

If you show us what you've done so far, and any errors then you can ask 
for more specific help.

Alan G
Author of the Learn to Program web site

More information about the Tutor mailing list