Commit 4698e28f by BellCodeEditor

save project

parent 53ec4203
Showing with 3 additions and 2 deletions
......@@ -14,6 +14,7 @@ pen.down()
def tree(n):
if n>=0:
pen.speed)(0)
pen.forward(n)
pen.right(30)
tree(n-10)
......@@ -24,5 +25,4 @@ def tree(n):
pen.backward(n)
pen.down()
tree(60)
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