def indent(text, num=4):
    """Indet the given string"""
    str_indent = ' ' * num
    return str_indent + ('\n' + str_indent).join(text.splitlines())
def indent ( text , num = 4 ) : str_indent = ' ' * num return str_indent + ( '\n' + str_indent ) . join ( text . splitlines ( ) )
Indet the given string