Commit 99df543a by BellCodeEditor

auto save

parent fa0dff60
Showing with 23 additions and 0 deletions
#导入库
import turtle
#导入画笔
p=turtle.Pen()
#设置画笔形状
p.shape("turtle")
#填充颜色
p.fillcoror("red")
#开始填充
p.begin_fill()
#重复执行
for i in change(5)
#移动画笔
p.forward(200)
#左转画笔
p.left(144)
#结束填充
p.end_fill()
#隐藏画笔
p.hideturtle()
#固定画布
turtle.done()
\ No newline at end of file
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