結果 : check if two characters are equal python