Commit 2df9408c by BellCodeEditor

save project

parent b6b59895
Showing with 5 additions and 3 deletions
import turtle
pen=turtle.Pen()
=screen.bgcolor("black")
screen=turtle.Screen()
screen=screen.bgcolor("black")
xxx=["green","red","orange","yellow"]
#hhh=1
for i in range(1,500):
pen.pencolor(xxx[i%4])
pen.forward(i)
pen.right(91)
turtle.done()
\ No newline at end of file
turtle.done()
pen.hideturtle()
\ 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