[ Python ] ✅✅ Simple Python Solution Using Maths🥳✌👍
If You like the Solution, Don\'t Forget To UpVote Me, Please UpVote! \uD83D\uDD3C\uD83D\uDE4F\n# Runtime: 123 ms, faster than 6.15% of Python3 online submission
# If You like the Solution, Don\'t Forget To UpVote Me, Please UpVote! \uD83D\uDD3C\uD83D\uDE4F\n# Runtime: 123 ms, faster than 6.15% of Python3 online submissions for Separate the Digits in an Array.\n# Memory Usage: 14.6 MB, less than 27.41% of Python3 online submissions for Separate the Digits in an Array.\n\n\tclass Solution:\n\t\tdef separateDigits(self, nums: List[int]) -> List[int]:\n\n\t\t\tresult = []\n\n\t\t\tfor num in nums:\n\n\t\t\t\tcurrent_result = []\n\n\t\t\t\twhile num > 0:\n\t\t\t\t\tcurrent_result.append(num % 10)\n\t\t\t\t\tnum = num // 10\n\n\t\t\t\tresult = result + current_result[::-1]\n\n\t\t\treturn result\n# Thank You \uD83E\uDD73\u270C\uD83D\uDC4D
['Math', 'Python', 'Python3']