Commit d2a912fe by BellCodeEditor

save project

parent 1ee593f7
Showing with 7 additions and 4 deletions
...@@ -5,10 +5,13 @@ ...@@ -5,10 +5,13 @@
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
distance=1 # distance=1
for i in range(300): colcrs=["green","red","orange","yerrow"]
pen.forward(distance)
distance+=1 for i in range(1,300):
pen.forward(i)
pen.pencolor("red")
# distance+=1
pen.right(91) pen.right(91)
pen.hideturtle() 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