simple and easy Python solution 😍❤️‍🔥
if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n\n# Code\n\nclass Solution(object):\n    def sumOfSquares(self, nums):\n        ans, n = 0, len(nums)\n   
# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n\n# Code\n```\nclass Solution(object):\n    def sumOfSquares(self, nums):\n        ans, n = 0, len(nums)\n        for i in range(n):\n            if not n%(i+1):\n                ans += (nums[i]*nums[i])\n        return ans\n```
['Array', 'Enumeration', 'Python', 'Python3']