I am pretty new to python and I have a doubt
I have a dict of dict which looks like
{"boy" : { "NN" : 3 ,"VB" : 3, "PP" : 2 } }
In case of a conflict of values as shown in the example above , I want to sort the internal dict based on their keys in descending order. The answer should look like :
{"boy" : {"VB" : 3, "NN" : 3, "PP":2} }
How can I do that ?