'How to get unique letters from string
I am trying to find how to get unique letters in a given string.
Do we have any inbuilt method to get it?
My code:
strname='aavccbb'
strname.most_common()
Expected output:
abcv
I would have made use of set but there is no guarantee of order.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
