1 from turtle import* 2 coordA=(-110,0,110,-55,55) #五个图起点坐标的x值 3 coordB=(-25,-25,-25,-75,-75) #五个圆起点坐标的y值 4 colorA=('red','blue','green','yellow','black') 5 pensize(10) 6 for i in range(5): 7 pu() 8 pencolor(colorA[i]) 9 goto(coordA[i],coordB[i]) 10 pd() 11 circle(45) 12 hideturtle()