Commit a016fea3 by BellCodeEditor

save project

parent 5fcf3c08
Showing with 4 additions and 1 deletions
......@@ -4,9 +4,12 @@
"""
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
scren.bgcolor("black")
color=["red","orang","yellow","green"]
pen.speed(0)
for i in range(1,300):
pen.forward(i)
pen.forward(color[i%4])
pen.left(91)
# 隐藏画笔,保存画布
turtle.hideturtle()
......
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