In : list(set('aaabcabccd')) Out: ['a', 'c', 'b', 'd']
Here is what the above code is Doing:
1. We create a set from the string ‘aaabcabccd’.
2. We convert the set back to a list.
3. We print the list.
The output is a list of all the unique characters in the string.