結果 : remove last character from a string in python