画太极图
1 from turtle import* 2 color('black','black') 3 begin_fill() 4 circle(-50,180) 5 circle(50,180) 6 circle(100,180) 7 pu() 8 left(90) 9 fd(40) 10 right(90) 11 circle(10) 12 end_fill() 13 color('black','white') 14 left(90) 15 fd(100) 16 pd() 17 right(90) 18 begin_fill() 19 circle(10) 20 end_fill() 21 pu() 22 home() 23 pd() 24 circle(-100,-180) 25 hideturtle()