結果 : get final element of array python