Commit 0cbae334 by BellCodeEditor

save project

parent 0eb7261a
Showing with 3 additions and 4 deletions
......@@ -16,14 +16,13 @@ def tree(n):
if n >= 50:
pen.forward(n)
pen.right(30)
pen.forward(n-50)
tree(n-50)
pen.left(60)
tree(n-50)
pen.right(30)
pen.penup()
pen.up()
pen.backward(n)
turtle.done()
pen.down()
tree(100)
tree(150)
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