Inverse of dict(zip(x,y))

Andre Engels andreengels at
Thu Mar 5 19:46:44 CET 2009

On Thu, Mar 5, 2009 at 7:46 PM, Andre Engels <andreengels at> wrote:

> If the dict = {key1: val1, key2: val2, ...}, you can do:
> for key in dict:
>    plot(key,dictionary[key])

Of course I meant:

for key in dict:

André Engels, andreengels at

More information about the Python-list mailing list