• + 0 comments
    cube = lambda x: x*x*x  # complete the lambda function 
    
    def fibonacci(n):
        # return a list of fibonacci numbers
        lst = []
        a = 0
        b = 1
        
        for i in range(n):
            c = a+b
            lst.append(a)
            a = b
            b = c
        
        return lst
    
    if __name__ == '__main__':
        n = int(input())
        print(list(map(cube, fibonacci(n))))