Python3
\nclass Solution:\n    def numOfPairs(self, nums: List[str], target: str) -> int:\n        c=0\n        for i in range(len(nums)):\n            for j in range(l
```\nclass Solution:\n    def numOfPairs(self, nums: List[str], target: str) -> int:\n        c=0\n        for i in range(len(nums)):\n            for j in range(len(nums)):\n                if i!=j:\n                    if nums[i]+nums[j]==target:\n                        c+=1\n        return c\n```
[]