結果 : compare characters in string python