[Python]Simple solution for noobs (for people new to coding)
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. Using brute force to look
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->Using brute force to look.\nfirst for loop is used to convert the list to number.\nthen we store the acquired number in **s**\nAdd the k in s then loop the s and enter the digits in empty list named **lst** \nBut this new list will have result in reverse order so we will return it by reversing it as **lst[::-1]**\n\nNote: for better understanding take a list containing not more than 2 elements and run through the code.Also you can use jupyter or use print statement after steps how the code is progressing.\n# Complexity\n- Time complexity:O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:O(n)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution(object):\n    def addToArrayForm(self, num, k):\n        """\n        :type num: List[int]\n        :type k: int\n        :rtype: List[int]\n        """\n        s=0\n        for i in num:\n            s=s*10+i\n        s=s+k\n        lst=[]\n        while(s!=0):\n            lst.append(s%10)\n            s=s//10\n        return lst[::-1]\n\n```
['Python']