結果 : invert a dictionary in python