import math


def create_xp_table(start=1, end=100, base_xp=10, exponent=1.5):
    """ Creates an experience/level table
    
    Keyword Arguments:
        start {int} -- [description] (default: {1})
        end {int} -- [description] (default: {100})
        base_xp {int} -- [description] (default: {1000})
        exponent {float} -- [description] (default: {1.5})
    
    Returns:
        list -- experience points needed to reach this level
    """

    levels = [0]
    
    for level in range( start, end):
        xp = math.floor(base_xp * math.pow(level, float(exponent)))
        levels.append(xp)

    return levels