結果 : python get first n items from generator