Commit f588cc52 by BellCodeEditor

save project

parent 0e487dcc
Showing with 4 additions and 4 deletions
......@@ -14,16 +14,16 @@ pen.down()
pen.speed(999)
def tree(n):
if n >= 10:
if n >= 20:
pen.forward(n)
pen.right(30)
tree(n-10)
tree(n-20)
pen.left(60)
tree(n-10)
tree(n-20)
pen.right(30)
pen.up()
pen.backward(n)
pen.down()
tree(70)
tree(120)
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