Commit 0b659a46 by BellCodeEditor

save project

parent fab721d1
Showing with 9 additions and 4 deletions
......@@ -4,11 +4,16 @@
"""
import turtle
pen=turtle.Pen()
pqa=1
for i in range(300):
pen.forward(pqa)
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("light pink")
colors=["white","blue","violet","cyan"]
pen.speed(1000)
for i in range(1,300):
pen.forward(i)
pen.pencolor(colors[i%4])
pen.right(91)
pqa+=1
pen.hideturtle()
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