def fib(n):
    """
    Return a list containing a set of fibonacci series upto n numbers
    """
    result = [] # it is an empty list
    a, b = 0, 1 # multiple value assigtnment in single line
    while a < n:  # initiating the while loop
        result.append(a) # appending the series in the result list 
        a, b = b, a + b # making the logic of fibonacci series
    return result