(string: str, chunk_length: int)
return [string[0 + offset : chunk_length + offset] for offset in range(0, len(string), chunk_length)]
Split a string into chunk_length-sized elements. Reversal operation: `''.join()`.
Split a string into chunk_length-sized elements. Reversal operation: `''.join()`.
Split a string into chunk_length - sized elements . Reversal operation : . join () .
def chunk_string(string: str, chunk_length: int) -> List[str]:
    """Split a string into chunk_length-sized elements. Reversal operation: `''.join()`."""
    return [string[0 + offset : chunk_length + offset] for offset in range(0, len(string), chunk_length)]
def chunk_string ( string : str , chunk_length : int ) -> List [ str ] : return [ string [ 0 + offset : chunk_length + offset ] for offset in range ( 0 , len ( string ) , chunk_length ) ]