結果 : how to invert a dictionary python