結果 : get last element dict python