Answers for "unique character 03 set and length comparison"

0

unique character 03 set and length comparison

class UniqueCharsSet(object):

    def has_unique_chars(self, string):
        if string is None:
            return False
        return len(set(string)) == len(string)
Posted by: Guest on April-13-2022

Python Answers by Framework

Browse Popular Code Answers by Language