Commit b3c245fa by BellCodeEditor

save project

parent fa7cf4e6
Showing with 3 additions and 1 deletions
......@@ -2,12 +2,13 @@ import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.color("black")
screen.bgcolor("black")
pen.speed(100)
a=["red","blue","yellow","pink"]
pen.color("blue")
for i in range(1,300):
pen.forward(i)
pen.color(a[i%4])
pen.right(91)
pen.hideturtle()
pen.down()
\ 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