Commit 2c78af8e by BellCodeEditor

save project

parent b9d2b0f0
Showing with 3 additions and 2 deletions
......@@ -5,8 +5,9 @@
import turtle
pen = turtle.Pen()
pen.color("red")
for i in range(1,600,2):
q=["red","orange","yellow","green","black","pink","blue","white"]
for i in range(1,600):
pen.color(q[i%8])
pen.hideturtle()
pen.forward(i)
pen.right(91)
......
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