def indent_block(s, amt=1):
    """
    Intend the lines of a string.

    :param s: The string
    :param amt: The amount, how deep the string block should be intended (default 1)
    :return: The indented string
    """
    indent_string = "  "
    res = s
    for i in range(0, amt):
        res = indent_string + indent_string.join(res.splitlines(True))
    return res