結果 : check if all characters in string are same python