题解 | #确定字符互异#
确定字符互异
http://www.nowcoder.com/practice/9618c2a9e8a14c3e82954ee14168f592
class Different: def checkDifferent(self, iniString): # write code here for i in range(len(iniString)-1): for j in range(i+1,len(iniString)): if iniString[j]==iniString[i]: return False return True