Dictionary bidirectional

WDC ki4yjl at gmail.com
Sun Jul 13 19:37:11 EDT 2008


On Jul 13, 4:21 pm, Kless <jonas.... at googlemail.com> wrote:
> I need a dictionary where get the result from a 'key' (on left), but
> also from a 'value' (on right), how to get it?
>
> I know that dictionaries aren't bidirectional, but is there any way
> without use two dictionaries?
>
> Thanks in advance!

You want to print the key as well as the value?



More information about the Python-list mailing list