結果 : python get first n elements of generator