結果 : pop last element of string python