import math


def draw_progress(percent, symbol='=', ticks=50):
    """
    Draw a simple ascii bar in percent.
    """
    done = int(math.floor((percent / 100) * ticks))
    not_done = ticks - done

    return '[{}{}]'.format(symbol * done, ' ' * not_done)