Draw A SImple Heart With Python

 1 from turtle import *
 2 def curvemove():
 3     for i in range(200):
 4         right(1)
 5         forward(1)
 6 color('red','pink')        
 7 begin_fill()
 8 left(140)
 9 forward(111.65)
10 curvemove()
11 left(120)
12 curvemove()
13 forward(111.65)
14 end_fill()
15 done()

 



posted @ 2015-06-27 21:26  SurfUniverse  阅读(165)  评论(0编辑  收藏  举报