Commit a2c2a4ca by BellCodeEditor

save project

parent d5825627
Showing with 5 additions and 1 deletions
import turtle
p = turtle.Pen()
p.speed(100)
screen = turtle.Screen()
p.speed(300)
screen.bgcolor("black")
colors = ["red","orange","yellow","green"]
for i in range(1,300):
p.color(colors[i%4])
p.forward(i)
p.right(91)
turtle.done()
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