Commit 2c7f3958 by BellCodeEditor

save project

parent bcf0ba78
Showing with 6 additions and 2 deletions
import turtle
p = turtle.Pen()
q = turtle.Screen()
q.bgcolor("black")
p.hideturtle()
p.speed(0)
color = ["red","yellow","orange","green"]
for i in range(300):
p.pencolor(color[i%4])
p.forward(i)
p.right(91)
p.hideturtle()
turtle.done()
\ 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