結果 : append pair to dictionary python