Python Accepted ✅
\nclass Solution:\n    def similarPairs(self, w: List[str]) -> int:\n        cnt=0\n        for i in range(len(w)):\n            for j in range(i):\n           
```\nclass Solution:\n    def similarPairs(self, w: List[str]) -> int:\n        cnt=0\n        for i in range(len(w)):\n            for j in range(i):\n                # print(i,j)\n                if set(w[i])==set(w[j]):\n                    cnt+=1\n        return cnt\n        \n```
['Python', 'Python3']