Commit 41763cda by BellCodeEditor

save project

parent 6467be86
Showing with 6 additions and 3 deletions
import turtle import turtle
a=1 screen=turtle.Screen()
screen.bgcolor("black")
colors=["red","green","orange","yellow"]
pen=turtle.Pen() pen=turtle.Pen()
for i in range(300): for i in range(1,300):
pen.color(colors[i%4])
pen.forward(a) pen.forward(a)
pen.right(91) pen.right(91)
a+=1
pen.hideturtle() pen.hideturtle()
turtle.done() 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