Commit 5057e7f7 by BellCodeEditor

save project

parent c4a69035
Showing with 10 additions and 4 deletions
......@@ -5,8 +5,11 @@
import turtle
pen = turtle.Pen()
pen.hideturtle()
# 请创造师在下面接着创作
distance=1
bg = turtle.Screen()
bg.bgcolor("black")
color=["red","green","blue","yellow"]
for i in range(300):
# while True:
......@@ -14,5 +17,5 @@ for i in range(300):
pen.forward(i)
pen.right(89)
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
bg = turtle.Screen()
bg.bgcolor("black")
pen = turtle.Pen()
# 请创造师在下面接着创作
pen.hideturtle()
distance=1
color=["red","green","blue","yellow"]
# for i in range(300):
......@@ -11,5 +12,5 @@ while True:
distance+=1
pen.right(89)
# 隐藏画笔,保存画布
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