(text: str, extra: int = 0)
return "\n".join(py_wrap(text, PRINT_WIDTH - 1 + extra))
Wraps text to (one character less than) the screen print width

    :param text: The text to wrap
    :param extra: Any extra width to apply
Wraps text to (one character less than) the screen print width
Wraps text to ( one character less than ) the screen print width
def wrap(text: str, extra: int = 0) -> str:
    """
    Wraps text to (one character less than) the screen print width

    :param text: The text to wrap
    :param extra: Any extra width to apply
    """
    return "\n".join(py_wrap(text, PRINT_WIDTH - 1 + extra))
def wrap ( text : str , extra : int = 0 ) -> str : return "\n" . join ( py_wrap ( text , PRINT_WIDTH - 1 + extra ) )