def make_title(title, width=80):
    """Styles a title to be printed into console.
    """
    space = width - len(title) - 4
    pre_space = space / 2 - 1
    post_space = space - pre_space
    line = '|' + str(int(pre_space) * '=') + ' '
    line += title
    line += ' ' + str(int(post_space) * '=') + '|'
    return line
