I want to create a dictionary in the form of:
my_dict = dict.fromkeys((["name", "id"] , "value"), 10)
So that in order to access element 10
, I could either type:
my_dict["name","value"] >> 10
or
mydict["id", "value"] >> 10
I think this is pretty explanatory, two keys are mandatory, but for the first one you can choose which one to use. Is this possible?