結果 : python check if last element in list