I have a list of details from an output for "set1" which are like "name", "place", "animal", "thing" and a "set2" with the same details.
I want to create a dictionary with dict_names[setx]['name']...
etc On these lines.
Is that the best way to do it? If not how do I do it?
I am not sure how 2D works in dictionary.. Any pointers?
setx
, and what do you wantdict_names[setx]['name']
to return? – Continuate