Commit 2c78af8e by BellCodeEditor

save project

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