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