Commit 05804ae5 by BellCodeEditor

save project

parent 323ba133
Showing with 1 additions and 1 deletions
...@@ -3,7 +3,7 @@ pen=turtle.Pen() ...@@ -3,7 +3,7 @@ pen=turtle.Pen()
color=["red","blue","white","purple"] color=["red","blue","white","purple"]
d=1 d=1
for i in range(300): for i in range(300):
pen.pencolor(color[1%4]) pen.pencolor(color[d%4])
pen.forward(d) pen.forward(d)
pen.right(91) pen.right(91)
pen.speed(100) pen.speed(100)
......
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