Commit 768c60bb by BellCodeEditor

save project

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