結果 : get last character of a string python