結果 : remove last element in a string python