結果 : key value function in python