Hi,
I have a dictionary which is something like this:
id_lookup={
16:'subfunction ',
26:'dataId',
34:'parameterId ',
39:'subfunction ',
44:'dataPackage Id',
45:'parameterId ',
54:'subfunction ',
59:'dataId',
165:'subfunctio n',
169:'subfunctio n',
170:'dataPackag eId',
174:'controlPar ameterId'
}
How do i assign multiple values to the key here.Like i want the
key 170 to take either the name 'dataPackageID' or the name
'LocalId'.I use this in my code,and hence if either comes it should
work .
Can someone help me.
Thanks
I have a dictionary which is something like this:
id_lookup={
16:'subfunction ',
26:'dataId',
34:'parameterId ',
39:'subfunction ',
44:'dataPackage Id',
45:'parameterId ',
54:'subfunction ',
59:'dataId',
165:'subfunctio n',
169:'subfunctio n',
170:'dataPackag eId',
174:'controlPar ameterId'
}
How do i assign multiple values to the key here.Like i want the
key 170 to take either the name 'dataPackageID' or the name
'LocalId'.I use this in my code,and hence if either comes it should
work .
Can someone help me.
Thanks
Comment