import turtle t=turtle.Pen() colors=[“red”,“green”,“blue”,“purple”] for x in range(100): t.pencolor(colors[x%4]) t.forward(x) t.left(88) 图形展示