結果 : get last character in a string python