Python worst solution ever don't upvote
\nIT IS A MORAL REQUEST THAT DO NOT UPVOTE IT AS WELL AS \nDOWN VOTE !!!!!!!!!!!!!!!!!!!!!!!\n\n\n# Code\n\nclass Solution:\n    def separateDigits(self, nums: 
\nIT IS A MORAL REQUEST THAT DO NOT UPVOTE IT AS WELL AS \nDOWN VOTE !!!!!!!!!!!!!!!!!!!!!!!\n![image.png](https://assets.leetcode.com/users/images/650faf56-7e68-40e4-863e-1a95b829738c_1691231956.3960273.png)\n\n# Code\n```\nclass Solution:\n    def separateDigits(self, nums: List[int]) -> List[int]:\n        s=[]\n        for i in nums:\n            s.extend(map(int,list(str(i))))\n        return s\n```
['Python3']