結果 : exclude last element of list python