Commit 2d88dd61 by BellCodeEditor

save project

parent c9ee00d1
Showing with 3 additions and 2 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
colors=["red","orange","yellwo","green","blue","purple","pink"] colors=["red","orange","yellow","light green", "light blue","blue","purple"]
for i in range(1,200): turtle.bgcolor("black")
for i in range(1,210):
pen.pencolor(colors[i%7]) pen.pencolor(colors[i%7])
pen.speed(300) pen.speed(300)
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