a=0 for i in range(2): rabbit[i].forward() for a in range(4+a): rabbit[i].forward() rabbit[i].clear() if carrot[i].fresh == True: getCarrot() a=a+4