def border_msg(msg: str):
    """
    This function creates boarders in the top and bottom of text
    """
    row = len(msg)
    h = ''.join(['+'] + ['-' * row] + ['+'])
    return h + "\n" + msg + "\n" + h