結果 : how to get the last value in an array python