結果 : how to compare characters in python