Hi,
I have a dictionary whose keys are variables.
Eg: - dict=None
dict[lst]=value
Here lst and values are 2 variables. How can I make the key
as the value of lst.
For eg:- if lst="node1" and if value = 10,
this is what i needs..
dict["node1"]=10
Thanx..
I have a dictionary whose keys are variables.
Eg: - dict=None
dict[lst]=value
Here lst and values are 2 variables. How can I make the key
as the value of lst.
For eg:- if lst="node1" and if value = 10,
this is what i needs..
dict["node1"]=10
Thanx..
Comment