Commit 57e0b768 by BellCodeEditor

save project

parent d360a12e
Showing with 17 additions and 4 deletions
# import turtle
# pen = turtle.Pen()
# distance=1
# turtle.tracer(False)
# for i in range(300):
# pen.forward(distance)
# distance+=1
# pen.right(91)
# pen.hideturtle()
# turtle.done()
import turtle
pen = turtle.Pen()
distance=1
turtle.tracer(False)
for i in range(300):
turtle.trange(False)
for i inrange(300):
pen.forward(distance)
distance+=1
pen.right(91)
pen.hideturtle(91)
pen.hideturtle()
turtle.done()
turtle.e.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