結果 : get first n items of dictionary python