https://leetcode.com/problems/difference-between-element-sum-and-digit-sum-of-an-array


Success


```python
class Solution:
    def differenceOfSum(self, nums: List[int]) -> int:
        return abs(sum(nums) - sum([sum([int(i) for i in list(str(num))]) for num in nums]))
```
