目录
1 娇滴滴的她
![](https://img-blog.csdnimg.cn/img_convert/afa47ae9583f324cfa1e1e37b58480ce.jpeg)
![](https://img-blog.csdnimg.cn/img_convert/82bb717483422dc29c21a9ceac9b1339.gif)
娇滴滴。双眉敛破春山色。春山色。
为君含笑,为君愁蹙。多情别後无消息。
此时更有谁知得。谁知得。夜深无寐,度江横笛。
2 Python代码实现
![](https://img-blog.csdnimg.cn/img_convert/15ad10b0f1ba1335f1e02119ca8548c2.png)
![](https://img-blog.csdnimg.cn/img_convert/5db55b6cd5760bc14040f30d38560716.gif)
import turtle
from turtle import *
turtle.title('春天送她一朵小花')
#~~~~~定义画花瓣的函数~~~~~~~·
def drawLeaf():
begin_fill()
for i in range(2):
for i in range(15):
lt(6)
fd(5)
lt(90)
end_fill()
#~~~主程序开始~~~~~·
speed(0)
pu()
goto(0, -200)
#~~~~~~画花柄~~~~~~~~~~~·
pd()
color('black', 'green')
for i in range(2):
lt(90)
fd(100)
drawLeaf()
rt(90)
drawLeaf()
#~~~画花朵~~~~~
lt(90)
fd(130)
color('black', 'red')
for i in range(12):
drawLeaf()
lt(360 / 12)
#~~~画花心的圆圈~~~~
pu()
ls(90)
fd(-10)
rt(90)
pd()
color('black', 'yellow')
begin_fill()
circle(10)
end_fill()
hideturtle()
#~~~~~~画花柄~~~~~~~~~~~·
pd()
color('black', 'green')
for i in range(2):
lt(90)
fd(100)
drawLeaf()
rt(90)
drawLeaf()
#~~~画花朵~~~~~
lt(90)
fd(130)
color('black', 'red')
for i in range(12):
drawLeaf()
lt(360 / 12)
#~~~画花心的圆圈~~~~
pu()
ls(90)
fd(-10)
rt(90)
pd()
color('black', 'yellow')
begin_fill()
circle(10)
end_fill()
hideturtle()