太阳花报告
一、 准备
- 打开Python界面
Ctrl+N
二、 编程
from turtle import *
color('red','yellow')
begin_fill()
while True:
forward(300)
left(170)
if abs(pos()) < 1:
break
end_fill()
done()
三、 保存,运行
太阳花报告
一、 准备
Ctrl+N
二、 编程
from turtle import *
color('red','yellow')
begin_fill()
while True:
forward(300)
left(170)
if abs(pos()) < 1:
break
end_fill()
done()
三、 保存,运行