結果 : check next character in string python