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