Pythonic 1-liner
Code\npython\nclass Solution:\n    def separateDigits(self, nums: List[int]) -> List[int]:\n        return [int(i) for n in nums for i in str(n)]\n
# Code\n```python\nclass Solution:\n    def separateDigits(self, nums: List[int]) -> List[int]:\n        return [int(i) for n in nums for i in str(n)]\n```
['Python3']