#1.8 draw_sunflower
#coding = uft-8
from turtle import *
import time
color("red","yellow")
#定义画笔颜色
begin_fill()
#开始绘制图形
while True:
forward(200)
#向前回执直线
right(170)
#旋转画笔方向
if abs(pos()) < 1:
break
#pos()为画笔坐标,如果画笔回到坐标原点,结束循环
end_fill()
done()