python 是否只包含唯一字符

判断string里是否只包含唯一字符

len(set(string)) == len(string)

原文地址:https://www.cnblogs.com/artesian0526/p/14512127.html