for example,brenner code: python: for x in range(0,shape[0]-2): out += (img[x+2,:]-img[x,:])**2 out = sum(out)