import turtle
import time
turtle.speed(5) #画笔移动的速度
# 设置初始位置
turtle.penup() #提起画笔,移动画笔但并不会绘制图形
turtle.left(90) #逆时针转动画笔90度
turtle.fd(200)
turtle.pendown() #放下画笔,移动画笔即开始绘制
turtle.right(90)
#设置画笔的大小
turtle.pensize(2)
# 花蕊
turtle.fillcolor(“red“) #填充颜色
turtle.begin_fill() #开始填充
turtle.circle(10180)
turtle.circle(25110)
turtle.left(50)
turtle.circle(6045)
turtle.circle(20170)
turtle.right(24)
turtle.fd(30)
turtle.left(10)
turtle.circle(30110)
turtle.fd(20)
turtle.left(40)
turtle.circle(9070)
turtle.circle(30150)
turtle.right(30)
turtle.fd(15)
turtle.circle(8090)
turtle.left(15)
turtle.fd(45)
turtle.right(165)
turtle.fd(20)
turtle.left(155)
turtle.circle(15080)
turtle.left(50)
turtle.circle(15090)
turtle.end_fill() #结束填充
# 花瓣1
turtle.left(150)
turtle.circle(-9070)
turtle.left(
评论
共有 条评论