Commit 9118e4eb by BellCodeEditor

save project

parent adf60b8a
Showing with 1 additions and 0 deletions
...@@ -13,6 +13,7 @@ pen.backward(150) # 后退 ...@@ -13,6 +13,7 @@ pen.backward(150) # 后退
pen.down() pen.down()
def tree(n): def tree(n):
if n>=0: if n>=0:
pen.speed(0)
pen.forward(n) pen.forward(n)
pen.right(30) pen.right(30)
tree(n-10) tree(n-10)
......
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