Commit 31e35f94 by BellCodeEditor

auto save

parent f253a667
Showing with 11 additions and 0 deletions
import turtle#导入模块
pen=turtle.Pen()#创建画笔
pen.fillcolor("green")#设置填充颜色
pen.begin_fill()#开始填充
for i in range(36):#重复循环
pen.forward(200)
pen.left(170)
pen.end_fill()#结束填充
pen.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