Commit 69f647e5 by BellCodeEditor

save project

parent 6f688a52
Showing with 4 additions and 1 deletions
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("black")
pen=turtle.Pen() pen=turtle.Pen()
b=["green","red","orange","yellow"]
for a in range(1,300): for a in range(1,300):
pen.pencolor(b[a%4])
pen.forward(a) pen.forward(a)
pen.right(91) pen.right(91)
pen.hideturtle() pen.hideturtle()
...@@ -769,4 +773,3 @@ turtle.done() ...@@ -769,4 +773,3 @@ turtle.done()
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