BEGINNER FRIENDLY PYTHON PROGRAM   [ BEATS 88% OF USERS ]
Intuition\nUsing for loop and string slicing\n\n# Approach\n Describe your approach to solving the problem. \nwe use for loop to iterate over the list and take 
# Intuition\nUsing for loop and string slicing\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\nwe use for loop to iterate over the list and take the 1st and last elements as string and concatenate\n\n# Code\n```\nclass Solution:\n    def findTheArrayConcVal(self, nums: List[int]) -> int:\n        ls=[]\n        x=-1\n        l=len(nums)//2\n     \n            \n        for i in range(l):\n            \n            ls.append(int(str(nums[i])+str(nums[x])))\n            x-=1\n        \n        if len(nums)%2==0:\n            return sum(ls)\n        else:\n            return sum(ls)+nums[l]\n```
['Python3']