import turtle as t
s=133
t.speed(0)
qa=0
h=['red','yellow','green','black','pink','orange','brown']
for i in range(99999999999999999999999):
t.fillcolor(h[s%7])
if i%3==2:
t.pencolor(h[0])
elif i%4==3:
t.pencolor(h[1])
elif i%5==4:
t.pencolor(h[2])
elif i%6==5:
t.pencolor(h[3])
elif i%7==6:
t.pencolor(h[4])
elif i%8==3:
t.pencolor(h[5])
elif i%9==6:
t.pencolor(h[6])
s+=1
t.begin_fill()
t.fd(s+1)
t.lt(s+2)
t.fd(s+3)
qa+=1
t.circle(s,qa)
t.bk(s-1)
aa=2+qa
ss=qa
t.fd(aa%ss)
t.end_fill()
#有报错,能运行。