結果 : python test for last element in list