Super easy Python solution using simple logic | Beginner friendly
Code


# Code
```python []
class Solution(object):
    def minElement(self, nums):
        minimum=nums[0]
        for i in nums:
            sums=0
            for num in str(i):
                sums+=int(num)
            minimum=min(minimum,sums)
        
        return minimum
        
```
['Array', 'Math', 'Python']