def fibonacci(n):
    """ fibonacci function
    Args: 
        n (int): the number for the n numbers of fibonacci 
    Returns:
        a list of finobacci numbers  
    """
    result = [1] # fibonacci number starts from 1
    t1 = 1
    t2 = 1

    if n > 0:
        for _ in range(n-1):
            result.append(t2)
            t3 = t1 + t2
            t1 = t2
            t2 = t3
    
        return(result)

    else:
        raise ValueError("Enter a positive number, please")