Commit 31354d61 by BellCodeEditor

save project

parent f49940b1
Showing with 2 additions and 0 deletions
...@@ -7,6 +7,8 @@ import turtle ...@@ -7,6 +7,8 @@ import turtle
c=["red","brown","blue","yellow"] c=["red","brown","blue","yellow"]
index=0 index=0
pen = turtle.Pen() pen = turtle.Pen()
sc=turtle.Screen()
sc.bgcolor(black)
for i in range(1,301): for i in range(1,301):
pen.pencolor(c[index]) pen.pencolor(c[index])
pen.forward(i) pen.forward(i)
......
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