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