S
Sean Berry
If I have a dictionary like the following:
{'category' : 2, 'shape', 4}
How can I use this to make
category = 2 and
shape = 4.
I want to be able to do this regardless of the dict values type. So:
{'cateogry' : 2, 'shape' : 'circle'}
will work as well.
Thanks in advance for any help. You guys rock.
--
{'category' : 2, 'shape', 4}
How can I use this to make
category = 2 and
shape = 4.
I want to be able to do this regardless of the dict values type. So:
{'cateogry' : 2, 'shape' : 'circle'}
will work as well.
Thanks in advance for any help. You guys rock.
--