結果 : how to index last element in array python