• + 0 comments

    This is the method to make real fibonnaci # complete the lambda function def fibonacci(n): a = 0 b = 1 c = [] for i in range(1,n+1): c.append(a) d = a + b a = b b = d return c

    # return a list of fibonacci numbers
    

    cube = (lambda x: (x**3))

    if name == 'main': n = int(input()) print(list(map(cube, fibonacci(n))))