結果 : remove last word from a string python