Commit fab721d1 by BellCodeEditor

save project

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