Commit 9897ccd2 by BellCodeEditor

save project

parent 31354d61
Showing with 1 additions and 1 deletions
...@@ -8,7 +8,7 @@ c=["red","brown","blue","yellow"] ...@@ -8,7 +8,7 @@ c=["red","brown","blue","yellow"]
index=0 index=0
pen = turtle.Pen() pen = turtle.Pen()
sc=turtle.Screen() sc=turtle.Screen()
sc.bgcolor(black) 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