Commit 0b659a46 by BellCodeEditor

save project

parent fab721d1
Showing with 9 additions and 4 deletions
...@@ -4,11 +4,16 @@ ...@@ -4,11 +4,16 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pqa=1 pen = turtle.Pen()
for i in range(300): screen = turtle.Screen()
pen.forward(pqa) 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) pen.right(91)
pqa+=1 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