結果 : trim last character of string python