Commit 0f5f2ecd by BellCodeEditor

auto save

parent f1e9e9ed
Showing with 15 additions and 1 deletions
......@@ -13,7 +13,7 @@ colors=["red","white","blue","yellow"]
for i in range(1,1000):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.right(121)
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.shape("turtle")
pen.forward(100)
turtle.done()
\ No newline at end of file
import turtle
pen = turtle.Pen()
pen.shape("circle")
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