Commit c7c47b85 by BellCodeEditor

save project

parent d89dce1b
Showing with 1 additions and 1 deletions
...@@ -13,6 +13,7 @@ colors=["white","blue","violet","cyan"] ...@@ -13,6 +13,7 @@ colors=["white","blue","violet","cyan"]
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.speed=0
distance=1 distance=1
for i in range(300): for i in range(300):
pen.forward(distance) pen.forward(distance)
...@@ -21,4 +22,3 @@ for i in range(300): ...@@ -21,4 +22,3 @@ for i in range(300):
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
pen.speed=0
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