結果 : python take n elements from generator