結果 : remove the last word in a string python