Traces a dashed line below string

    Args:
        s: string
        char:
        indents: number of leading intenting spaces

    Returns: list

    >>> print("\\n".join(format_underline("Life of João da Silva", "^", 2)))
      Life of João da Silva
      ^^^^^^^^^^^^^^^^^^^^^

def format_underline(s, char="=", indents=0):
    """
    Traces a dashed line below string

    Args:
        s: string
        char:
        indents: number of leading intenting spaces

    Returns: list

    >>> print("\\n".join(format_underline("Life of João da Silva", "^", 2)))
      Life of João da Silva
      ^^^^^^^^^^^^^^^^^^^^^
    """

    n = len(s)
    ind = " " * indents
    return ["{}{}".format(ind, s), "{}{}".format(ind, char*n)]