🎯SUPER EASY FOR BEGINNERS 👏
Code


# Code
```python3 []
class Solution:
    def similarPairs(self, words: List[str]) -> int:

        lst = [sorted(set([j for j in i])) for i in words]
        
        l = [''.join(i) for i in lst]

        c = 0

        for i in range(len(l)):
            for j in range(i, len(l)):
                if i == j:
                    continue
                if l[i] == l[j]:
                    c += 1
        return c
        
```
['Python3']