也没什么东西 第一次用这个 估计也是最后一次。我这个应该比网上写的更清楚一些。
import turtle # 关于填充的用法 每次fill自己所画的度数 半径 turtle.fillcolor( yellow ) turtle.circle(90, 180) turtle.begin_fill() turtle.circle(90, 180) turtle.end_fill() turtle.begin_fill() turtle.circle(45, 180) turtle.end_fill() turtle.fillcolor( white ) # 改变画圆的方向 turtle.begin_fill() turtle.circle(-45, 180) turtle.end_fill() turtle.up() turtle.setx(0) turtle.sety(30) turtle.down() turtle.begin_fill() turtle.circle(15) turtle.end_fill() turtle.up() turtle.setx(0) turtle.sety(120) turtle.down() turtle.fillcolor( yellow ) turtle.begin_fill() turtle.circle(15) turtle.end_fill() turtle.done()



