Commit fab721d1 by BellCodeEditor

save project

parent e4ff4c05
Showing with 4 additions and 8 deletions
......@@ -4,15 +4,11 @@
"""
import turtle
pen=turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("light blue")
pen.speed(100)
colors=["red","blue","white","yellow"]
for i in range(1,3000):
pen.forward(i)
pen.pencolor(colors[i%4])
pqa=1
for i in range(300):
pen.forward(pqa)
pen.right(91)
pen.hideturtle()
pqa+=1
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