I have the dictionary
d = {'a':3, 'b':7, 'c':8}
I was wondering how could i reverse the order of the dictionary in order to make it look like this:
d = {3:'a', 7:'b', 8:'c'}
I would like to do this without just writing it like this. Is there a way i can use the first dict in order to obtain the new result?