Commit c50f5d1d by BellCodeEditor

auto save

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