def fib_table_for(n):
    """
    Returns: fibonacci list [a0, a1, ..., an]
    
    Parameter n: the position in the fibonacci sequence
    Precondition: n >= 0 is an int
    """
    if n == 0:
        return [1]
    
    # if for n==1 is unnecessary
    fib = [1,1]
    for k in range(2,n):
        fib.append(fib[-1] + fib[-2])
    
    return fib