Commit 7b330df7 by BellCodeEditor

save project

parent 0d62ccba
Showing with 55 additions and 4 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
dis=1 colors=["green","red","orange","yellow"]
for i in range(300): for i in range(1,300):
pen.forward(dis) pen.forward(i)
dis+=1 pen.pencolor(colors[i%4])
pen.right(91) pen.right(91)
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
...@@ -19,3 +19,54 @@ turtle.done() ...@@ -19,3 +19,54 @@ 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