Commit c1fa4f1b by BellCodeEditor

save project

parent 1a632757
Showing with 3 additions and 4 deletions
...@@ -4,10 +4,8 @@ turtle.hideturtle() ...@@ -4,10 +4,8 @@ turtle.hideturtle()
turtle.speed(0) turtle.speed(0)
a=["black","red","blue","purple"] a=["black","red","blue","purple"]
b=random.choice(a) b=random.choice(a)
a=1
for i in range(600): for i in range(600):
turtle.color(b) turtle.forward(i)
turtle.forward(a)
turtle.right(91) turtle.right(91)
a+=1 turtle.color(b)
turtle.done() turtle.done()
\ No newline at end of file
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