結果 : compare each character in string in python