Commit eb112599 by BellCodeEditor

auto save

parent e98f531b
Showing with 4 additions and 0 deletions
......@@ -4,8 +4,11 @@
import turtle #导入海龟编辑器
pen=turtle.Pen()#创建画笔
pen.shape("turtle")#将画笔设为海龟形状
pen.fillcolor("blue")
pen.begin_fill()
for i in range(5):#循环5次
pen.forward(200)#移动200步
pen.right(144)#右转144度
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