Python3 simple solution
\nclass Solution:\n    def numOfPairs(self, nums: List[str], target: str) -> int:\n        count = 0\n        for i in range(len(nums)):\n            for j in r
```\nclass Solution:\n    def numOfPairs(self, nums: List[str], target: str) -> int:\n        count = 0\n        for i in range(len(nums)):\n            for j in range(len(nums)):\n                if i != j:\n                    res = nums[i] + nums[j]\n                    if target == res:\n                        count += 1\n        return count\n```\n**If you like this solution, please upvote for this**
['Python3']