Python | 100% Faster | Easy Solution✅
Code\u2705\n\nclass Solution:\n    def findTheArrayConcVal(self, nums: List[int]) -> int:\n        concatenation = 0\n        while len(nums)>0:\n            if
# Code\u2705\n```\nclass Solution:\n    def findTheArrayConcVal(self, nums: List[int]) -> int:\n        concatenation = 0\n        while len(nums)>0:\n            if len(nums)>1:\n                concatenation += int(str(nums[0])+str(nums[-1]))\n                del nums[-1]\n            else:\n                concatenation += nums[0]\n            del nums[0]\n        return concatenation\n```\n![Screen Shot 2023-02-12 at 9.28.12 PM.png](https://assets.leetcode.com/users/images/e7103720-573a-4f30-8760-09a07d1ef8f2_1676217512.0730717.png)\n
['Python', 'Python3']