Commit b5487f34 by BellCodeEditor

save project

parent d2c8c0d3
Showing with 5 additions and 4 deletions
......@@ -8,16 +8,17 @@ p.speed(1000)
p.color("yellow")
#设置填充颜色
p.fillcolor("red")
#开始填充
p.begin_fill()
#画笔重复36次
#设置画笔重复36次
for i in range(36):
#设置移动
#设置画笔移动
p.forward(200)
#设置方向
#设置画笔方向
p.left(170)
#结束填充
p.end_fill()
#隐藏画笔
hideturtle()
p.hideturtle()
#固定画布
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