結果 : every nth element of array python