結果 : return string without last character python