結果 : how to invert dictionary in python