Simple Solution
IntuitionThe problem requires finding the number in the list whose sum of digits is the smallest. The approach involves iterating through each number, extractin
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
The problem requires finding the number in the list whose sum of digits is the smallest. The approach involves iterating through each number, extracting its digits, summing them up, and then returning the minimum sum.

# Approach
<!-- Describe your approach to solving the problem. -->
1. Initialize an empty list `a` to store the sum of digits for each number.
2. Iterate through each number in `nums`.
3. For each number, extract its digits and compute their sum.
4. Store the computed sum in the list `a`.
5. Return the minimum value from `a`.

# Code
```python3 []
from typing import List

class Solution:
    def minElement(self, nums: List[int]) -> int:
        a = []
        
        for num in nums:
            s = 0
            temp = num
            
            while temp > 0:
                ld = temp % 10  
                s += ld  
                temp = temp // 10  
            
            a.append(s)  
        
        return min(a) 
```

['Python3']