Python dictionary wih key value pair as value for a key : I want to know how to create a dictionary with key value pair and value should have another values.

For (eg):

    {key:{value1 : [a,b,c] , value2 : [d,e,f] , value3 : [g,h,i] } }

I tried,

    a = {}
    a.setdefault(key,{})[value] = a
    a.setdefault(key,{})[value] = b
    a.setdefault(key,{})[value] = c
then a returns,

   { key: {value : c } }

For value last one added is only getting. Can anyone help for this?

Thanks in advance