結果 : python check if string contains same characters