Commit bca4977a by BellCodeEditor

save project

parent 2a3b57c1
Showing with 4 additions and 3 deletions
...@@ -4,9 +4,9 @@ pen.speed(0) ...@@ -4,9 +4,9 @@ pen.speed(0)
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor('black') screen.bgcolor('black')
qwertyuiop=['red','yellow','blue','green'] qwertyuiop=['red','yellow','blue','green']
for i in range(1,3001): for i in range(1,10001):
pen.pencolor(qwertyuiop[i%4]) pen.pencolor(qwertyuiop[i%4])
pen.forward(i) pen.forward(i/2)
pen.right(91) pen.right(90)
pen.hideturtle() pen.hideturtle()
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