3 ms·Another nice way to do this is: r.expr(range(2, n)).reduce(lambda x,y: x+[x[y-1] + x[y-2]], [0,1])by jdoliner 13y agoAnother nice way to do this is: r.expr(range(2, n)).reduce(lambda x,y: x+[x[y-1] + x[y-2]], [0,1])