Commit 64a14f16 by BellCodeEditor

save project

parent b1ad66ec
Showing with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ screen=turtle.Screen() ...@@ -4,7 +4,7 @@ screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("black")
colors=["red","orange","yellow","green"] colors=["red","orange","yellow","green"]
for i in range(300): for i in range(300):
pen.color([colors%4]) pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
pen.right(91) pen.right(91)
pen.hideturtle() pen.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