python,Beginner
```\nclass Solution:\n    def divideString(self, s: str, k: int, fill: str) -> List[str]:\n        li=[]\n        a=len(s)//k\n        a=a*k\n        for i in r
```\nclass Solution:\n    def divideString(self, s: str, k: int, fill: str) -> List[str]:\n        li=[]\n        a=len(s)//k\n        a=a*k\n        for i in range(0,a,k):\n            li.append(s[i:i+k])\n        b=len(s)-a\n        if(b>0):\n            st=s[a:]\n            b=k-b\n            for i in range(b):\n                st=st+fill\n            li.append(st)\n        return li
[]