Commit d2e5c0a4 by BellCodeEditor

save project

parent 1c826f67
Showing with 1 additions and 1 deletions
......@@ -2,7 +2,7 @@ import turtle
colour=["green","blue","yellow","orange"]
pen = turtle.Pen()
for i in range(300):
pen.color(colour[i%4])
pen.pencolor(colour[i%4])
pen.forward(i)
pen.right(91)
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