Commit 154fcb97 by BellCodeEditor

auto save

parent db4ec920
Showing with 13 additions and 0 deletions
import turtle #导入turtle
pen=turtle.Pen() #创建一个画笔
pen.speed(1000) #设置填充速度
pen.shape("classic")#改变画笔形状
pen.fillcolor("")#选择颜色
pen.begin_fill()#开始填充
for i in range(1000):
pen.forward(200)
pen.right(180)
pen.left(32)
pen.end_fill()#结束填充
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