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