結果 : python get string minus last character