結果 : python check if element is last in array