Commit 71726cb5 by BellCodeEditor

save project

parent 736d36c7
Showing with 3 additions and 4 deletions
...@@ -2,10 +2,8 @@ import turtle ...@@ -2,10 +2,8 @@ import turtle
p = turtle.Pen() p = turtle.Pen()
p.shape("turtle") p.shape("turtle")
p.speed(20) p.speed(20)
d=1 for i in range(1,300):
for i in range(300): p.forward(i)
p.forward(d)
d+=1
p.right(91) p.right(91)
p.hideturtle() p.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
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