結果 : remove last character in a string in python