Commit 5f2bb90a by BellCodeEditor

save project

parent 7f82c381
Showing with 2 additions and 4 deletions
...@@ -21,11 +21,9 @@ turtle.done() ...@@ -21,11 +21,9 @@ turtle.done()
""" """
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
distance=1
for i in range(300): for i in range(300):
pen.forward(distance) pen.forward(i)
distance+=2 pen.right(91)
pen.right(90)
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