def indent(text, indentation, indentation_character="\t"):
    """Indents all lines of a string with the given indentation.

    Args:
        text: String to indent.
        indentation: Number of indentation characters to indent.
        indentation_character: indentation character to use
    """
    blank = indentation_character * indentation
    return "\n".join(blank + x for x in text.splitlines())