Commit 176f44f0 by BellCodeEditor

save project

parent 0aebc3a8
Showing with 8 additions and 1 deletions
#导入库
import turtle
#设置画笔
p=turtle.Pen()
#变画笔颜色
p.fillcolor("red")
#开始填充
p.begin_fill()
#循环
for i in range(5):
p.forward(200)
p.right(144)
#结束填充
p.end_fill()
turtle.done
#保存画布
turtle.done()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment