Commit 7f4316d7 by BellCodeEditor

save project

parent d6cba4d7
Showing with 6 additions and 12 deletions
......@@ -15,24 +15,17 @@
# 隐藏画笔,保存画布
#pen.hideturtle()
#turtle.done()
import turtle
pen=turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("light pink")
colors=["red","orange","yollow","green"]
i=0
for i in range(0,1300,1):
for i in range(1300):
pen.color(colors[i%4])
pen.forward(i)
pen.left(89)
pen.hideturtle()
turtle.down
turtle.down
\ 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