import math


def underlined(text, chars='=-'):
    """Underlines a text with extra chars

    :param text: The text to underline
    :param chars: The chars used for underlining.  They will be
                  repeated as often as necessary to fit the length of
                  the text.
    :return: a list containing `text` and the underline
    """
    underline = chars * math.ceil(len(text) / len(chars))
    return [text, underline[:len(text)]]