def fibonacci(x):
    """Function docstring
    The fibonacci() function will take in a value x and give the numbers in the
    fibonacci sequence up to the x number.
    
    Args:
        x(int): parameter 1
    
    Returns:
        fiblist: The list of fibonacci sequence numbers up to the input value
    """
    assert x>0
    fiblist = [1]
    a,b = 1,1
    for i in range(x-1):
        a,b = b, a+b
        fiblist.append(a)
    return fiblist