結果 : print every nth element of array python