結果 : dictionary pop python complexity