how to keep a counter for unique chars in a string in python code example
Example: find unique char in string python
In [1]: list(set('aaabcabccd'))
Out[1]: ['a', 'c', 'b', 'd']
In [1]: list(set('aaabcabccd'))
Out[1]: ['a', 'c', 'b', 'd']