Python3, One_liner
s+k*fill means that we add k extra charaters at the end of string s.\n2. Slice [i*k:i*k+k] take k characters starting at index i*k\n3. len(s)//k is number of co
1. ```s+k*fill``` means that we add ```k``` extra charaters at the end of string ```s```.\n2. Slice ```[i*k:i*k+k]``` take k characters starting at index ```i*k```\n3. ```len(s)//k``` is number of completed parts\n4. We have some leftover in the string ```s``` when ```0<len(s)%k```\n5. We put all steps in one list comprehension.\n```\nclass Solution:\n    def divideString(self, s: str, k: int, fill: str) -> List[str]:\n        return [(s+k*fill)[i*k:i*k+k] for i in range(len(s)//k+(0<len(s)%k))]\n```\n\nShorter version (thanks @cc189):\n```\nclass Solution:\n    def divideString(self, s: str, k: int, fill: str) -> List[str]:\n        return [(s+k*fill)[i:i+k] for i in range(0,len(s),k)]\n```
[]