結果 : how to get last index of array python