結果 : how to find the last element in an array python