python bruteforce
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python3 []\nclass Solution:\n    def splitMessage(self, message: str, limit: int) -> List[str]:\n        def helper(length, limit):\n            if (limit-5) * 9 >= length:\n                return (length + (limit-5)-1) // (limit-5)\n            elif ((limit-6) * 9) + ((limit-7) * 90) >= length:\n                return ((length - ((limit-6) * 9) + limit-7 - 1) // ((limit-7))) + 9\n            elif ((limit-7) * 9) + ((limit-8) * 90) + ((limit-9)* 900) >= length:\n                return ((length - ((limit-7) * 9) - ((limit-8) * 90) + (limit-9)-1) // (limit-9)) + 99\n            elif ((limit-8) * 9) + ((limit-9) * 90) + ((limit-10)* 900) + ((limit-11)* 9000) >= length:\n                return ((length - ((limit-8) * 9) - ((limit-9) * 90) - ((limit-10) * 900) + (limit-11)-1) // (limit-11)) + 999\n            else:\n                return 0\n        lines = helper(len(message), limit)\n        start, end = 0, 0\n        res = []\n        for i in range(1, lines+1):\n            suffix = f"<{i}/{lines}>"\n            end = start + limit - len(suffix)\n            text = message[start: end]\n            res.append(text+suffix)\n            start = end\n        return res\n\n```
['Python3']