Commit f7995695 by BellCodeEditor

auto save

parent 50aa6c1b
Showing with 18 additions and 0 deletions
#导入
import turtle
#设置画笔
p = turtle.Pen()
#填充颜色
p.fillcolor("red")
#开始填充
p.begin_fill()
#循环
for i in range(5):
p.forward(50)
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