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