Python 3 Solution | Faster than 100% | 35ms
py\nclass Solution:\n    def divideString(self, s: str, k: int, fill: str) -> List[str]:\n        grps = [s[i:i+k] for i in range(0, len(s), k)]\n        grps[-
```py\nclass Solution:\n    def divideString(self, s: str, k: int, fill: str) -> List[str]:\n        grps = [s[i:i+k] for i in range(0, len(s), k)]\n        grps[-1] += (fill * (k - len(grps[-1])))\n        return grps\n```
['Python']