• + 0 comments

    def fibonacci(n): # return a list of fibonacci numbers

    l=[0,1]
    for i in range(n-2):
        l.append(l[i]+l[i+1])
    if n<=1:    
       l=[0] if n==1 else []
    return l 
    

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